From 7aefbb526d92aa9e14b7c503c0c85ed40707e3ba Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 31 Oct 2023 11:52:16 +0100 Subject: [PATCH] prefix windows variable --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2871e02..d9d9d36 100644 --- a/Makefile +++ b/Makefile @@ -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