0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

fix msix.patch

`policies.json` should be there now again
This commit is contained in:
Malte Jürgens 2023-04-14 20:33:47 +02:00
parent cf64e6d43d
commit 564250d15e
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -2,7 +2,7 @@
#
# Author: Malte Jürgens <maltejur@dismail.de>
# Description: Allows us to build a msix for the Microsoft Store
# Last Updated: 2023-03-11
# Last Updated: 2023-04-14
# License: MPL 2.0
--- a/browser/installer/windows/msix/AppxManifest.xml.in
+++ b/browser/installer/windows/msix/AppxManifest.xml.in
@ -202,3 +202,20 @@
)
if not os.path.isdir(branding):
raise Exception("branding dir {} does not exist".format(branding))
@@ -520,16 +520,6 @@ def repackage_msix(
# In local builds and unpacked MSIX directories, `p` is like "firefox.exe" already.
pp = p
- if pp.startswith("distribution"):
- # Treat any existing distribution as a distribution directory,
- # potentially with language packs. This makes it easy to repack
- # unpacked MSIXes.
- distribution_dir = mozpath.join(dir_or_package, "distribution")
- if distribution_dir not in distribution_dirs:
- distribution_dirs.append(distribution_dir)
-
- continue
-
copier.add(mozpath.normsep(mozpath.join("VFS", "ProgramFiles", instdir, pp)), f)
# Locales to declare as supported in `AppxManifest.xml`.