prefix windows variable

This commit is contained in:
Mylloon 2023-10-31 11:52:16 +01:00
parent c2cf452cee
commit 7aefbb526d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -130,6 +130,7 @@ sync-wsl:
# Windows through WSL
WIN = (Windows)
sync-windows:
# Scripts
@$(WGET) $(REPO_SRC)/windows/blockthespot.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat
@ -137,7 +138,7 @@ sync-windows:
@$(WGET) $(REPO_SRC)/windows/update.bat -O $(WIN_HOME)/Documents/Local/update.bat
@$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
@$(WGET) $(REPO_SRC)/windows/vencord_installer.bat -O $(WIN_HOME)/Documents/Local/vencord_installer.bat
@echo "(Windows) Scripts synced!"
@echo "$(WIN) Scripts synced!"
@echo
# CS2 (only if installed)
@ -145,23 +146,23 @@ sync-windows:
$(WGET) $(REPO_SRC)/games/cs2/autoexec.cfg -O $(CS2_CFG)/autoexec.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/myconfig.cfg -O $(CS2_CFG)/myconfig.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/customgame.cfg -O $(CS2_CFG)/customgame.cfg; \
echo "(Windows) CS:GO synced!"; \
echo "$(WIN) CS:GO synced!"; \
echo; \
fi
# Firefox
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -O $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release/user.js
@$(CURL) $(REPO_SRC)/.mozilla/firefox/user-windows.js >> $(wildcard $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release)/user.js
@echo "(Windows) Firefox synced!"
@echo "$(WIN) Firefox synced!"
@echo
# WindowsAutoNightMode
@$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/config.yaml -O $(APPDATA)/AutoDarkMode/config.yaml
@echo "(Windows) WindowsAutoNightMode synced!"
@echo "$(WIN) WindowsAutoNightMode synced!"
@echo
# Xournal++
@$(WGET) $(REPO_SRC)/.config/xournalpp/settings.xml -O $(LOCALAPPDATA)/xournalpp/settings.xml
@echo "(Windows) Xournal++ synced!"
@echo "$(WIN) Xournal++ synced!"
@echo