Add extra description to shortcuts

This commit is contained in:
Mylloon 2024-07-18 10:49:44 +02:00
parent bd4074edb1
commit 0d29c1bede
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,7 @@ PowerShell -Command "" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open --game 2 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-starrail.ico';" ^
"$Shortcut.Description = 'HSR';" ^
"$Shortcut.Save()"
:: ZZZ shortcut
@ -34,6 +35,7 @@ PowerShell -Command "" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open --game 3 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-zenless.ico';" ^
"$Shortcut.Description = 'ZZZ';" ^
"$Shortcut.Save()"
IF NOT "%1"=="yes" PAUSE

View file

@ -19,6 +19,7 @@ PowerShell -Command "" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\FiveM.lnk');" ^
"$Shortcut.WorkingDirectory = \"$path\";" ^
"$Shortcut.TargetPath = $outFile;" ^
"$Shortcut.Description = 'GTA';" ^
"$Shortcut.Save()"
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\fivem" /f /v DisplayName /t REG_SZ /d "FiveM"
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\fivem" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\FiveM"

View file

@ -216,6 +216,7 @@ PowerShell -Command "" ^
"$exe = (Get-ChildItem $env:LOCALAPPDATA\Microsoft\WinGet\Packages\Ryujinx.Ryujinx_Microsoft.Winget.*\publish\Ryujinx.exe).FullName;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Ryujinx.lnk');" ^
"$Shortcut.TargetPath = $exe;" ^
"$Shortcut.Description = 'Switch';" ^
"$Shortcut.Save()"