From 558e7bc1e7ad41299fd8f4b85838751ffdb3d549 Mon Sep 17 00:00:00 2001 From: Marcus Griep Date: Mon, 28 Mar 2016 22:18:20 -0400 Subject: [PATCH] Remove shortcuts from `Scoop Apps` on uninstall --- lib/install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.ps1 b/lib/install.ps1 index e5a124d2b..502c3f67a 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -596,7 +596,7 @@ function startmenu_shortcut($target, $shortcutName) { function rm_startmenu_shortcuts($manifest, $global) { $manifest.shortcuts | ?{ $_ -ne $null } | % { $name = $_.item(1) - $shortcut = "$env:USERPROFILE\Start Menu\Programs\$name.lnk" + $shortcut = "$env:USERPROFILE\Start Menu\Programs\Scoop Apps\$name.lnk" if(Test-Path -Path $shortcut) { Remove-Item $shortcut echo "Removed shortcut $shortcut"