From 297af9b4094b1435d08fc60d0178a1828c9b8a63 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 27 Jul 2024 02:01:30 -0400 Subject: [PATCH] Remove some additional Firefox modules and avoid logged errors --- app/scripts/fetch_xulrunner | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index e2fb73abe4..20ab1ac245 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -173,11 +173,19 @@ function modify_omni { fi # Remove unwanted files - rm modules/FxAccounts* + pushd modules + rm Bookmarks* + rm FxAccounts* + echo '' > PartitioningExceptionListService.sys.mjs + rm Places* + echo '' > PlacesExpiration.sys.mjs + echo '' > PlacesFrecencyRecalculator.sys.mjs + rm -rf services-settings/* + touch services-settings/remote-settings.sys.mjs # Causes a startup error -- try an empty file or a shim instead? - #rm modules/Telemetry* - rm modules/URLDecorationAnnotationsService.sys.mjs - rm -rf modules/services-* + #rm Telemetry* + rm URLDecorationAnnotationsService.sys.mjs + popd # Clear most WebExtension manifest properties replace_line 'manifest = normalized.value;' 'manifest = normalized.value;