From 3e309fca0ad852d455106bf8904ad8f6d9b736ed Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 9 Dec 2024 08:38:53 +0100 Subject: [PATCH] fix path --- windows/fix_mihoyo_shortcut.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/fix_mihoyo_shortcut.bat b/windows/fix_mihoyo_shortcut.bat index ce96ef3..5116b79 100644 --- a/windows/fix_mihoyo_shortcut.bat +++ b/windows/fix_mihoyo_shortcut.bat @@ -3,7 +3,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION SET "collapse=%ProgramFiles%\Collapse Launcher" SET "exe=CollapseLauncher.exe" -FOR /F "usebackq delims=" %%i IN (`dir /B /S "!collapse!\app-*"`) DO SET "vbc=%%i" +FOR /F "usebackq delims=" %%i IN (`dir /B /S "!collapse!\current"`) DO SET "vbc=%%i" SET "iconpath=Assets\Images\GameIcon" SET "shortcutpath=%APPDATA%\Microsoft\Windows\Start Menu\Programs"