summaryrefslogtreecommitdiffstats
path: root/config/create_rc.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /config/create_rc.py
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'config/create_rc.py')
-rw-r--r--config/create_rc.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/config/create_rc.py b/config/create_rc.py
index d75959d4e0..d921e7db3d 100644
--- a/config/create_rc.py
+++ b/config/create_rc.py
@@ -26,6 +26,8 @@ TEMPLATE = """
{include}
+Identity LimitedAccessFeature {{ L"{lafidentity}_pcsmm0jrprpb2" }}
+
/////////////////////////////////////////////////////////////////////////////
//
@@ -112,8 +114,8 @@ def split_and_normalize_version(version, len):
def has_manifest(module_rc, manifest_id):
- for line in module_rc.splitlines():
- line = line.split(None, 2)
+ for lineFromInput in module_rc.splitlines():
+ line = lineFromInput.split(None, 2)
if len(line) < 2:
continue
id, what, *rest = line
@@ -167,8 +169,15 @@ def generate_module_rc(binary="", rcinclude=None):
else:
include = ""
+ # Set the identity field for the Limited Access Feature
+ # Must match the tokens used in Win11LimitedAccessFeatures.cpp
+ lafidentity = "MozillaFirefox"
+ # lafidentity = "FirefoxBeta"
+ # lafidentity = "FirefoxNightly"
+
data = TEMPLATE.format(
include=include,
+ lafidentity=lafidentity,
fileversion=overrides.get("WIN32_MODULE_FILEVERSION", milestone_winversion),
productversion=overrides.get(
"WIN32_MODULE_PRODUCTVERSION", milestone_winversion