Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d09c186 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Apply domain substitution at build-time

parent 630b8475
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -118,6 +118,9 @@ patch() {

    # Rename Chrome to Browser
    rename

    # domain_substitution from ungoogled-chromium
    domain_substitution
}

rename() {
@@ -143,6 +146,14 @@ rename() {
    git commit -m "Browser: Replace Chrome with Browser"
}

domain_substitution() {
    cd "${root_dir}/domain_substitution"
    python3 domain_substitution.py apply -r domain_regex.list -f domain_substitution.list $chromium_dir/src
    cd $chromium_dir/src
    git add .
    git commit -m "Browser: Automated domain substitution"
}

sync() {
    echo ">> [$(date)] Syncing chromium $chromium_version"
    cd $chromium_dir
+0 −55017

File deleted.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ index 9b197a8dee40d..829d5275f9730 100644
  */
 public class HelpAndFeedbackLauncherImpl implements HelpAndFeedbackLauncher {
     protected static final String FALLBACK_SUPPORT_URL =
-            "https://support.9oo91e.qjz9zk/chrome/topic/6069782";
-            "https://support.google.com/chrome/topic/6069782";
+            "https://doc.e.foundation/how-tos/";
 
     private static ProfileKeyedMap<HelpAndFeedbackLauncher> sProfileToLauncherMap;
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
0014-fixup-Disable-third-party-origin-trials.patch
0015-fixup-disable-browser-sign-in-feature-by-default.patch
0016-Browser-disable-price-shopping-commerce-integration.patch
0017-Automated-domain-substitution.patch
0018-add-trichrome-browser-apk-targets.patch
0019-Browser-Change-app-and-package-name-to-browser.patch
0020-Browser-Point-to-our-default-popular-sites.patch