0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00
LibreWolf/patches/xmas.patch

44 lines
1.2 KiB
Diff
Raw Permalink Normal View History

2021-12-27 18:55:58 -05:00
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index 725a639..2b88218 100644
2021-12-27 18:55:58 -05:00
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -251,6 +251,11 @@
; Remote Settings JSON dumps
@RESPATH@/browser/defaults/settings
2021-12-27 18:55:58 -05:00
+; LibreWolf specific files.
+@RESPATH@/defaults/pref/local-settings.js
+@RESPATH@/distribution/policies.json
+@RESPATH@/librewolf.cfg
+
# channel-prefs.js has been removed on macOS.
#ifndef XP_MACOSX
2022-08-27 01:22:13 -05:00
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
2021-12-27 18:55:58 -05:00
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,12 @@
+FINAL_TARGET_FILES += [
+ "librewolf.cfg",
+]
+
+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 41c9ad7..046e01b 100644
--- a/moz.build
+++ b/moz.build
@@ -202,3 +202,5 @@ SPHINX_TREES["metrics"] = "docs/metrics"
SPHINX_TREES["gtest"] = "docs/gtest"
include("build/templates.mozbuild")
+
+DIRS += ["lw"]