From 6d166ab71e628021213a75e05d4f4fbe227261fb Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 19 Jul 2023 03:17:27 +0200 Subject: [PATCH] Remove desktop icons both from user and public folder --- scripts/Windows/Scripts/Context.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 21f59ade..034c5bac 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -26,6 +26,7 @@ class Context { [void] RemoveDesktopIcon($pattern) { Remove-Item "$env:PUBLIC/Desktop/$pattern"; + Remove-Item "~/Desktop/$pattern"; } [void] RemoveTaskbarItem($pattern) {