From 8fe37c454512853c40108c2c0d19c2d39d15af19 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 25 Sep 2024 09:55:25 +0000 Subject: automatic import of chromium --- chromium-master-prefs-path.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 chromium-master-prefs-path.patch (limited to 'chromium-master-prefs-path.patch') diff --git a/chromium-master-prefs-path.patch b/chromium-master-prefs-path.patch new file mode 100644 index 0000000..f9e6b07 --- /dev/null +++ b/chromium-master-prefs-path.patch @@ -0,0 +1,16 @@ +Index: chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc +=================================================================== +--- chromium-115.0.5790.32.orig/chrome/browser/first_run/first_run_internal_linux.cc ++++ chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc +@@ -21,10 +21,7 @@ bool IsOrganicFirstRun() { + base::FilePath InitialPrefsPath() { + // The standard location of the initial prefs is next to the chrome binary. + base::FilePath dir_exe; +- if (!base::PathService::Get(base::DIR_EXE, &dir_exe)) { +- return base::FilePath(); +- } +- ++ dir_exe = base::FilePath("/etc/chromium"); + return installer::InitialPreferences::Path(dir_exe); + } + -- cgit v1.2.3