Remove edge desktop icon

This commit is contained in:
Manuel Thalmann 2024-10-22 01:41:06 +02:00
parent c6425ccd65
commit 4e80e7eef0

View file

@ -163,5 +163,9 @@ using namespace Microsoft.Win32;
)
Expand-BackupArtifacts -User $Arguments.Name -Path "Home" -Target $HOME;
if (-not (Get-OSConfig "adware")) {
Remove-DesktopIcon "*Microsoft Edge*";
}
};
} @args;