update obs config + todo
This commit is contained in:
parent
8def89e89d
commit
ae1d1c7b78
2 changed files with 8 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -236,6 +236,8 @@ sync-windows:
|
|||
# @echo "$(WIN) Topgrade settings synced!"
|
||||
# @echo
|
||||
|
||||
# TODO: OBS shadowplay config updater
|
||||
|
||||
|
||||
# Termux distro specific
|
||||
sync-termux:
|
||||
|
|
|
@ -363,13 +363,17 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/WindowsAutoNightMode/
|
|||
|
||||
|
||||
:: === OBS ==
|
||||
:: Create directories for configurations
|
||||
MKDIR "%ProgramFiles%\obs-studio\config\obs-studio\basic\profiles\ReplayBuffer" 2>NUL
|
||||
MKDIR "%ProgramFiles%\obs-studio\config\obs-studio\basic\scenes" 2>NUL
|
||||
|
||||
:: Download configuration
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/basic/profiles/ReplayBuffer/basic.ini -OutFile '%ProgramFiles%\obs-studio\config\obs-studio\basic\profiles\ReplayBuffer\basic.ini'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/basic/profiles/ReplayBuffer/streamEncoder.json -OutFile '%ProgramFiles%\obs-studio\config\obs-studio\basic\profiles\ReplayBuffer\streamEncoder.json'"
|
||||
|
||||
MKDIR "%ProgramFiles%\obs-studio\config\obs-studio\basic\scenes" 2>NUL
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/basic/scenes/ReplayBuffer.json -OutFile '%ProgramFiles%\obs-studio\config\obs-studio\basic\scenes\ReplayBuffer.json'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/obs/global.ini -OutFile '%ProgramFiles%\obs-studio\config\obs-studio\global.ini'"
|
||||
|
||||
:: Setup the autostart of shadowplay
|
||||
SCHTASKS /Create /TN "OBS Shadowplay" ^
|
||||
/TR "'%LOCALAPPDATA%\start_obs_as_shadowplay.bat'" ^
|
||||
/SC ONLOGON ^
|
||||
|
|
Loading…
Reference in a new issue