Comment the whole OBS section as I am using Shadowplay now

This commit is contained in:
Mylloon 2023-08-11 14:29:29 +02:00
parent 0074de7911
commit 28337a4c51
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -229,18 +229,18 @@ PowerShell -Command "Expand-Archive -Path '%TEMP%\WindowsInk.zip' -DestinationPa
:: Rename shortcut for Minecraft :: Rename shortcut for Minecraft
RENAME "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Prism Launcher.lnk" Minecraft.lnk RENAME "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Prism Launcher.lnk" Minecraft.lnk
:: Startup OBS replay buffer :: :: Startup OBS replay buffer
PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^ :: PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\OBS.lnk');" ^ :: "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\OBS.lnk');" ^
"$Shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^ :: "$Shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^
"$Shortcut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^ :: "$Shortcut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^
"$Shortcut.Arguments = '--disable-missing-files-check --minimize-to-tray " ^ :: "$Shortcut.Arguments = '--disable-missing-files-check --minimize-to-tray " ^
"--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 yes :: 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
ECHO Fais un tour des parametres Windows, apres avoir fait toutes les mises a jour disponible sur le PC. ECHO Fais un tour des parametres Windows, apres avoir fait toutes les mises a jour disponible sur le PC.
ECHO Enfin, redemarre l'ordinateur ECHO Enfin, redemarre l'ordinateur