From 0074de7911440c537bb5d3e9efea4826ecad80a5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 11 Aug 2023 14:28:22 +0200 Subject: [PATCH] use "yes" option instead of "noskip" --- windows/blockthespot.bat | 2 +- windows/fix_obs_shortcut.bat | 2 +- windows/vencord_installer.bat | 2 +- windows11.bat | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/windows/blockthespot.bat b/windows/blockthespot.bat index fd58cc6..bbb0b92 100644 --- a/windows/blockthespot.bat +++ b/windows/blockthespot.bat @@ -28,5 +28,5 @@ DEL %HOMEPATH%\Desktop\Spotify.lnk 2>NUL ie4uinit -show ECHO Suppression du raccourci du bureau -IF NOT "%1"=="noskip" PAUSE +IF NOT "%1"=="yes" PAUSE EXIT /B diff --git a/windows/fix_obs_shortcut.bat b/windows/fix_obs_shortcut.bat index c55c608..e552542 100644 --- a/windows/fix_obs_shortcut.bat +++ b/windows/fix_obs_shortcut.bat @@ -15,5 +15,5 @@ PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^ "$Shortcut.Arguments = '--profile ""ANRI GAMING (PROFIL)"""" --multi';" ^ "$Shortcut.Save()" -IF NOT "%1"=="noskip" PAUSE +IF NOT "%1"=="yes" PAUSE EXIT /B diff --git a/windows/vencord_installer.bat b/windows/vencord_installer.bat index 4a089f3..152d104 100644 --- a/windows/vencord_installer.bat +++ b/windows/vencord_installer.bat @@ -11,7 +11,7 @@ PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/late "cd $env:TEMP;" ^ "ECHO 1| & $outfile -install" -IF NOT "%1"=="noskip" ( +IF NOT "%1"=="yes" ( :: Restart Discord "%LOCALAPPDATA%\Discord\Update.exe" diff --git a/windows11.bat b/windows11.bat index a0748ac..8e586c7 100644 --- a/windows11.bat +++ b/windows11.bat @@ -10,7 +10,7 @@ fltmc >NUL 2>&1 || ( :: === Install Spotify == PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'" DEL "%APPDATA%\Spotify" - ECHO Y| CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat" noskip + ECHO Y| CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat" yes PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue" :: Start as administrator @@ -198,7 +198,7 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_obs_shortcut.bat PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat -OutFile '%HOMEPATH%\Documents\Local\vencord_installer.bat'" :: === Install Vencord == -CMD /c "%HOMEPATH%\Documents\Local\vencord_installer.bat" noskip +CMD /c "%HOMEPATH%\Documents\Local\vencord_installer.bat" yes :: === Install OpenTabletDriver == :: Download @@ -238,7 +238,7 @@ PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^ "--startreplaybuffer --profile ""ReplayBuffer"""" --scene ""ReplayBuffer""""';" ^ "$Shortcut.Save()" :: Default shortcut should start default profile -CALL %HOMEPATH%\Documents\Local\fix_obs_shortcut.bat noskip +CALL %HOMEPATH%\Documents\Local\fix_obs_shortcut.bat yes :: Allow system to go in sleep mode when OBS is running powercfg -requestsoverride process obs64.exe display system awaymode