This commit is contained in:
Mylloon 2024-08-21 00:55:17 +02:00
parent c92d382e3d
commit abe97b8610
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -374,12 +374,9 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/basic/profiles/Re
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/basic/scenes/ReplayBuffer.json -OutFile '%ProgramFiles%\obs-studio\config\obs-studio\basic\scenes\ReplayBuffer.json'"
:: Setup the autostart of shadowplay
SCHTASKS /Create /TN "OBS Shadowplay" ^
SCHTASKS /Create /RU "%USERNAME%" /SC ONLOGON /TN "OBS Shadowplay" ^
/TR "'%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" ^
/SC ONLOGON ^
/RU "%USERNAME%" ^
/RL HIGHEST ^
/F
/F /RL HIGHEST
:: Allow system to go in sleep mode when OBS is running
POWERCFG /REQUESTSOVERRIDE PROCESS obs64.exe DISPLAY SYSTEM AWAYMODE