fix user.js installation when reinstalling firefox from scratch

This commit is contained in:
Mylloon 2024-06-25 20:33:00 +02:00
parent 0374762bde
commit 7a8f4096b6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -204,7 +204,8 @@ sync-windows:
echo; \
fi
# Firefox
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -O $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release/user.js
-@$(RM) $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release/user.js
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -P $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release
@$(CURL) $(REPO_SRC)/.mozilla/firefox/user-windows.js >> $(wildcard $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release)/user.js
@echo "$(WIN) Firefox settings synced!"
@echo