start the game directly

This commit is contained in:
Mylloon 2024-04-18 16:46:57 +02:00
parent c6c6596a01
commit 08b550c694
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,7 +12,7 @@ PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Genshin Impact.lnk');" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open -g 1 -r 0';" ^
"$Shortcut.Arguments = 'open --game 1 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-genshin.ico';" ^
"$Shortcut.Save()"
@ -22,7 +22,7 @@ PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Honkai Star Rail.lnk');" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open -g 2 -r 0';" ^
"$Shortcut.Arguments = 'open --game 2 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-starrail.ico';" ^
"$Shortcut.Save()"