From bd4074edb14e80eb76bda0bd535b83de0888546c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 Jul 2024 18:45:23 +0200 Subject: [PATCH] Add ZZZ --- windows/fix_mihoyo_shortcut.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/windows/fix_mihoyo_shortcut.bat b/windows/fix_mihoyo_shortcut.bat index 7e25933..e4baad6 100644 --- a/windows/fix_mihoyo_shortcut.bat +++ b/windows/fix_mihoyo_shortcut.bat @@ -26,5 +26,15 @@ PowerShell -Command "" ^ "$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-starrail.ico';" ^ "$Shortcut.Save()" +:: ZZZ shortcut +ECHO ZZZ shortcut creation... +PowerShell -Command "" ^ + "$WshShell = New-Object -comObject WScript.Shell;" ^ + "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Zenless Zone Zero.lnk');" ^ + "$Shortcut.TargetPath = '!collapse!\!exe!';" ^ + "$Shortcut.Arguments = 'open --game 3 --region 0 --play';" ^ + "$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-zenless.ico';" ^ + "$Shortcut.Save()" + IF NOT "%1"=="yes" PAUSE EXIT /B