From 213fbca5aaee5ae6e0e22602d95048bee3becb19 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 4 Sep 2026 13:03:11 -0400 Subject: [PATCH] linux: Don't show Chromium eula dialog on startup --- patch/patches/chrome_runtime.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patch/patches/chrome_runtime.patch b/patch/patches/chrome_runtime.patch index 214ee610d..20dcaf13e 100644 --- a/patch/patches/chrome_runtime.patch +++ b/patch/patches/chrome_runtime.patch @@ -237,7 +237,7 @@ index 2b3ed5cf2e01569c71e7dd6872b630983956f419..059ffb20f277f8d18b7706f0a71e9fb5 // Initialize features and field trials, either from command line or from diff --git chrome/browser/chrome_browser_main.cc chrome/browser/chrome_browser_main.cc -index 00fe10f55ffb3e0e983812df4c6c99742e2d84bc..4b83420c1bccfafc493cf29f0f924c35611e8be0 100644 +index 00fe10f55ffb3e0e983812df4c6c99742e2d84bc..318dcc5211d9699748f0f65d439953d455c8ba71 100644 --- chrome/browser/chrome_browser_main.cc +++ chrome/browser/chrome_browser_main.cc @@ -30,6 +30,7 @@ @@ -298,6 +298,15 @@ index 00fe10f55ffb3e0e983812df4c6c99742e2d84bc..4b83420c1bccfafc493cf29f0f924c35 #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \ (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +@@ -1758,7 +1763,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { + #endif + + // Should be done before starting metrics recording. +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(ENABLE_CEF) + // On Linux, the EULA dialog requires Views, so it is shown here rather than + // when applying the first-run prefs. + if (first_run::IsChromeFirstRun() && master_prefs_->eula_required && @@ -1775,6 +1780,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { browser_process_->PreMainMessageLoopRun();