From 0e3375e5a0ec00732d84fadba7e4fffe27380329 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 9 Dec 2024 08:44:53 +0100 Subject: [PATCH] now a onetime run --- Makefile | 1 - .../{fix_mihoyo_shortcut.bat => apply_mihoyo_shortcut.bat} | 0 windows11.bat | 4 ++-- 3 files changed, 2 insertions(+), 3 deletions(-) rename windows/{fix_mihoyo_shortcut.bat => apply_mihoyo_shortcut.bat} (100%) diff --git a/Makefile b/Makefile index 366b711..05954c9 100644 --- a/Makefile +++ b/Makefile @@ -201,7 +201,6 @@ sync-windows: @$(WGET) $(REPO_SRC)/windows/installers/spotify.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat @$(WGET) $(REPO_SRC)/windows/installers/vencord.bat -O $(WIN_HOME)/Documents/Local/vencord_installer.bat # @$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat - @$(WGET) $(REPO_SRC)/windows/fix_mihoyo_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_mihoyo_shortcut.bat @$(WGET) $(REPO_SRC)/windows/start_obs_as_shadowplay.bat -O $(LOCALAPPDATA)/start_obs_as_shadowplay.bat @$(WGET) $(REPO_SRC)/windows/reg_fixes.bat -O $(WIN_HOME)/Documents/Local/reg_fixes.bat @echo "$(WIN) Scripts synced!" diff --git a/windows/fix_mihoyo_shortcut.bat b/windows/apply_mihoyo_shortcut.bat similarity index 100% rename from windows/fix_mihoyo_shortcut.bat rename to windows/apply_mihoyo_shortcut.bat diff --git a/windows11.bat b/windows11.bat index d4c0566..ee81ddb 100644 --- a/windows11.bat +++ b/windows11.bat @@ -25,7 +25,6 @@ fltmc >NUL 2>&1 || ( PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/spotify.bat -OutFile '!local!\blockthespot.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/vencord.bat -OutFile '!local!\vencord_installer.bat'" @REM PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '!local!\fix_nvidia_wsl.bat'" - PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_mihoyo_shortcut.bat -OutFile '!local!\fix_mihoyo_shortcut.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/start_obs_as_shadowplay.bat -OutFile '%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/reg_fixes.bat -OutFile '!local!\reg_fixes.bat'" @@ -287,7 +286,8 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/collapse.b CMD /c "%TEMP%\collapse.bat" yes :: Fix games shortcut -CMD /c "!local!\fix_mihoyo_shortcut.bat" yes +PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/apply_mihoyo_shortcut.bat -OutFile '%TEMP%\apply_mihoyo_shortcut.bat'" +CMD /c "%TEMP%\apply_mihoyo_shortcut.bat" yes :: === FiveM ==