use "yes" option instead of "noskip"

This commit is contained in:
Mylloon 2023-08-11 14:28:22 +02:00
parent 538b1f8bcd
commit 0074de7911
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 6 additions and 6 deletions

View file

@ -28,5 +28,5 @@ DEL %HOMEPATH%\Desktop\Spotify.lnk 2>NUL
ie4uinit -show ie4uinit -show
ECHO Suppression du raccourci du bureau ECHO Suppression du raccourci du bureau
IF NOT "%1"=="noskip" PAUSE IF NOT "%1"=="yes" PAUSE
EXIT /B EXIT /B

View file

@ -15,5 +15,5 @@ PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^
"$Shortcut.Arguments = '--profile ""ANRI GAMING (PROFIL)"""" --multi';" ^ "$Shortcut.Arguments = '--profile ""ANRI GAMING (PROFIL)"""" --multi';" ^
"$Shortcut.Save()" "$Shortcut.Save()"
IF NOT "%1"=="noskip" PAUSE IF NOT "%1"=="yes" PAUSE
EXIT /B EXIT /B

View file

@ -11,7 +11,7 @@ PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/late
"cd $env:TEMP;" ^ "cd $env:TEMP;" ^
"ECHO 1| & $outfile -install" "ECHO 1| & $outfile -install"
IF NOT "%1"=="noskip" ( IF NOT "%1"=="yes" (
:: Restart Discord :: Restart Discord
"%LOCALAPPDATA%\Discord\Update.exe" "%LOCALAPPDATA%\Discord\Update.exe"

View file

@ -10,7 +10,7 @@ fltmc >NUL 2>&1 || (
:: === Install Spotify == :: === Install Spotify ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
DEL "%APPDATA%\Spotify" 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" PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
:: Start as administrator :: 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'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat -OutFile '%HOMEPATH%\Documents\Local\vencord_installer.bat'"
:: === Install Vencord == :: === Install Vencord ==
CMD /c "%HOMEPATH%\Documents\Local\vencord_installer.bat" noskip CMD /c "%HOMEPATH%\Documents\Local\vencord_installer.bat" yes
:: === Install OpenTabletDriver == :: === Install OpenTabletDriver ==
:: Download :: Download
@ -238,7 +238,7 @@ PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^
"--startreplaybuffer --profile ""ReplayBuffer"""" --scene ""ReplayBuffer""""';" ^ "--startreplaybuffer --profile ""ReplayBuffer"""" --scene ""ReplayBuffer""""';" ^
"$Shortcut.Save()" "$Shortcut.Save()"
:: Default shortcut should start default profile :: 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 :: Allow system to go in sleep mode when OBS is running
powercfg -requestsoverride process obs64.exe display system awaymode powercfg -requestsoverride process obs64.exe display system awaymode