don't delete icon with "yes" parameter
This commit is contained in:
parent
f91256053a
commit
dadb94dd83
2 changed files with 10 additions and 10 deletions
|
@ -24,12 +24,12 @@ PowerShell -Command "" ^
|
|||
"Remove-Item -LiteralPath $patchedFiles;" ^
|
||||
"Start-Process -WorkingDirectory $dir -FilePath $exe"
|
||||
|
||||
:: Delete newly created Spotify shortcut
|
||||
DEL %HOMEPATH%\Desktop\Spotify.lnk 2>NUL
|
||||
ie4uinit -show
|
||||
ECHO Remove the desktop shortcut
|
||||
|
||||
IF NOT "%1"=="yes" (
|
||||
:: Delete newly created Spotify shortcut
|
||||
DEL %HOMEPATH%\Desktop\Spotify.lnk 2>NUL
|
||||
ie4uinit -show
|
||||
ECHO Remove the desktop shortcut
|
||||
|
||||
:: Restart Spotify
|
||||
PowerShell -Command "" ^
|
||||
"$dir = Join-Path -Path $env:APPDATA -ChildPath 'Spotify';" ^
|
||||
|
|
|
@ -23,12 +23,12 @@ PowerShell -Command "" ^
|
|||
"Start-Process -Wait -NoNewWindow '!vencord!' '-install', '-location !discord_dir!';" ^
|
||||
"Remove-Item -Force '!vencord!'"
|
||||
|
||||
:: Delete newly created Discord shortcut
|
||||
DEL %HOMEPATH%\Desktop\Discord.lnk 2>NUL
|
||||
ie4uinit -show
|
||||
ECHO Remove the desktop shortcut
|
||||
|
||||
IF NOT "%1"=="yes" (
|
||||
:: Delete newly created Discord shortcut
|
||||
DEL %HOMEPATH%\Desktop\Discord.lnk 2>NUL
|
||||
ie4uinit -show
|
||||
ECHO Remove the desktop shortcut
|
||||
|
||||
:: Restart Discord
|
||||
PowerShell Start-Process "!discord_dir!\app-*\Discord.exe"
|
||||
|
||||
|
|
Loading…
Reference in a new issue