fix protocol call
This commit is contained in:
parent
70557a37a9
commit
c6771c7a20
1 changed files with 3 additions and 6 deletions
|
@ -20,8 +20,7 @@ ECHO Genshin shortcut creation...
|
|||
PowerShell -Command "" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Genshin Impact.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!protocol!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Genshin Impact\"';" ^
|
||||
"$Shortcut.TargetPath = '!protocol!!args! \"Genshin Impact\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-genshin.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
|
@ -30,8 +29,7 @@ ECHO Honkai shortcut creation...
|
|||
PowerShell -Command "" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Honkai Star Rail - HSR.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!protocol!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Honkai: Star Rail\"';" ^
|
||||
"$Shortcut.TargetPath = '!protocol!!args! \"Honkai: Star Rail\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-starrail.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
|
@ -40,8 +38,7 @@ ECHO ZZZ shortcut creation...
|
|||
PowerShell -Command "" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Zenless Zone Zero - ZZZ.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!protocol!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Zenless Zone Zero\"';" ^
|
||||
"$Shortcut.TargetPath = '!protocol!!args! \"Zenless Zone Zero\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-zenless.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
|
|
Loading…
Reference in a new issue