diff --git a/windows/installers/spotify.bat b/windows/installers/spotify.bat index d4f2f5d..86bbc4d 100644 --- a/windows/installers/spotify.bat +++ b/windows/installers/spotify.bat @@ -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';" ^ diff --git a/windows/installers/vencord.bat b/windows/installers/vencord.bat index 46fc369..20a966d 100644 --- a/windows/installers/vencord.bat +++ b/windows/installers/vencord.bat @@ -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"