omegafox/patches/xmas-modified.patch
2024-07-26 06:49:20 -05:00

44 lines
1.3 KiB
Diff

diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index a638dbe8e2..f0d4310cfa 100644
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -253,6 +253,11 @@
@RESPATH@/browser/defaults/settings/main
@RESPATH@/browser/defaults/settings/security-state
+; Camoufox specific files
+@RESPATH@/defaults/pref/local-settings.js
+@RESPATH@/distribution/policies.json
+@RESPATH@/camoufox.cfg
+
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
; Technically this is an app pref file, but we are keeping it in the original
; gre location for now.
diff --git a/lw/moz.build b/lw/moz.build
index e69de29..8589aac 100644
--- a/lw/moz.build
+++ b/lw/moz.build
@@ -0,0 +1,13 @@
+FINAL_TARGET_FILES += [
+ "camoufox.cfg",
+ "chrome.css",
+]
+
+FINAL_TARGET_FILES.distribution += [
+ "policies.json",
+]
+
+# local-settings does not yet end up being pacakged.
+FINAL_TARGET_FILES.defaults.pref += [
+ "local-settings.js",
+]
diff --git a/moz.build b/moz.build
index 5af3642165..01f5a7e45b 100644
--- a/moz.build
+++ b/moz.build
@@ -218,3 +218,5 @@ SPHINX_TREES["mots"] = "docs/mots"
SPHINX_TREES["update-infrastructure"] = "docs/update-infrastructure"
include("build/templates.mozbuild")
+
+DIRS += ["lw"]