alias obs cfg

This commit is contained in:
Mylloon 2024-10-02 20:24:50 +02:00
parent 85fa660ed6
commit 55d1606b64
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -23,6 +23,7 @@ APPDATA = $(WIN_HOME)/AppData/Roaming
LOCALAPPDATA = $(WIN_HOME)/AppData/Local LOCALAPPDATA = $(WIN_HOME)/AppData/Local
WIN_STEAM_USERDATA = $(filter-out "userdata",$(shell find $(PFx86)/Steam/userdata -maxdepth 1 -type d -printf "\"%f\" ")) WIN_STEAM_USERDATA = $(filter-out "userdata",$(shell find $(PFx86)/Steam/userdata -maxdepth 1 -type d -printf "\"%f\" "))
CS2_CFG = $(PFx86)/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/csgo/cfg CS2_CFG = $(PFx86)/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/csgo/cfg
OBS_CFG = $(PF)/obs-studio/config/obs-studio
# Checkers # Checkers
ARCH = $(shell grep -c "archlinux" /proc/version 2> /dev/null) ARCH = $(shell grep -c "archlinux" /proc/version 2> /dev/null)
@ -245,12 +246,12 @@ ifeq ($(ADMIN_WIN),1)
@echo "$(WIN) Can't update OBS configuration, use elevated terminal to do so" @echo "$(WIN) Can't update OBS configuration, use elevated terminal to do so"
@echo @echo
else else
@$(MKDIR) $(PF)/obs-studio/config/obs-studio/basic/profiles/ReplayBuffer @$(MKDIR) $(OBS_CFG)/basic/profiles/ReplayBuffer
@$(MKDIR) $(PF)/obs-studio/config/obs-studio/basic/scenes @$(MKDIR) $(OBS_CFG)/basic/scenes
@$(WGET) $(REPO_SRC)/.config/obs/global.ini -O $(PF)/obs-studio/config/obs-studio/global.ini @$(WGET) $(REPO_SRC)/.config/obs/global.ini -O $(OBS_CFG)/global.ini
@$(WGET) $(REPO_SRC)/.config/obs/basic/profiles/ReplayBuffer/basic.ini -O $(PF)/obs-studio/config/obs-studio/basic/profiles/ReplayBuffer/basic.ini @$(WGET) $(REPO_SRC)/.config/obs/basic/profiles/ReplayBuffer/basic.ini -O $(OBS_CFG)/basic/profiles/ReplayBuffer/basic.ini
@$(WGET) $(REPO_SRC)/.config/obs/basic/profiles/ReplayBuffer/recordEncoder.json -O $(PF)/obs-studio/config/obs-studio/basic/profiles/ReplayBuffer/recordEncoder.json @$(WGET) $(REPO_SRC)/.config/obs/basic/profiles/ReplayBuffer/recordEncoder.json -O $(OBS_CFG)/basic/profiles/ReplayBuffer/recordEncoder.json
@$(WGET) $(REPO_SRC)/.config/obs/basic/scenes/ReplayBuffer.json -O $(PF)/obs-studio/config/obs-studio/basic/scenes/ReplayBuffer.json @$(WGET) $(REPO_SRC)/.config/obs/basic/scenes/ReplayBuffer.json -O $(OBS_CFG)/basic/scenes/ReplayBuffer.json
@echo "$(WIN) OBS configuration synced!" @echo "$(WIN) OBS configuration synced!"
@echo @echo
endif endif