diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index c3e9701c29..71cc5b41bc 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -162,6 +162,9 @@ function modify_omni { # Disable unwanted components remove_line '(RemoteSettings|services-|telemetry|Telemetry|URLDecorationAnnotationsService)' components/components.manifest + # Ignore relative paths in PATH in Subprocess.pathSearch(), used when bare command is passed to Utilities.Internal.subprocess() + replace_line 'let path = PathUtils.join\(dir, bin\);' 'if (!dir.startsWith("\/")) continue; let path = PathUtils.join(dir, bin);' modules/subprocess/subprocess_unix.sys.mjs + # Remove unwanted files rm modules/FxAccounts* # Causes a startup error -- try an empty file or a shim instead?