delete discord shortcut

This commit is contained in:
Mylloon 2024-09-06 09:52:59 +02:00
parent 1547d9d496
commit 8aad5d0e62
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -23,6 +23,11 @@ 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" (
:: Restart Discord
PowerShell Start-Process "!discord_dir!\app-*\Discord.exe"