Add extra description to shortcuts
This commit is contained in:
parent
bd4074edb1
commit
0d29c1bede
3 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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()"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue