diff --git a/extras.ini b/extras.ini index 116d93cb..e168a6a6 100644 --- a/extras.ini +++ b/extras.ini @@ -5,8 +5,8 @@ sha256 = cd954c7257f126be871f79ecf8fff143425708d5d33501d0ba870fa466dafbe7 output_path = ./components/resources/default_100_percent/search_engine_choice [onboarding] -version = 202505161829 +version = 202505202136 url = https://github.com/imputnet/helium-onboarding/releases/download/%(version)s/helium-onboarding-%(version)s.tar.gz download_filename = onboarding-page-%(version)s.tar.gz -sha256 = 1a78757d1e28b6865e87ca8e7df8b06bd3ffed5dde838690776e6daadf6cb99d +sha256 = 7719da3c819a1f52c5688d223ba190b268312de78934959c5a909c0018ebe384 output_path = ./components/helium_onboarding diff --git a/patches/helium/core/onboarding-page.patch b/patches/helium/core/onboarding-page.patch index a77024f1..734802a5 100644 --- a/patches/helium/core/onboarding-page.patch +++ b/patches/helium/core/onboarding-page.patch @@ -43,11 +43,13 @@ #include "components/custom_handlers/protocol_handler_registry.h" #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_features.h" -@@ -473,6 +475,13 @@ StartupBrowserCreatorImpl::DetermineStar +@@ -473,6 +475,15 @@ StartupBrowserCreatorImpl::DetermineStar LaunchResult launch_result = tabs.empty() ? LaunchResult::kNormally : LaunchResult::kWithGivenUrls; -+ if (!is_incognito_or_guest) { ++ bool no_first_run = base::CommandLine::ForCurrentProcess()->HasSwitch( ++ switches::kNoFirstRun); ++ if (!is_incognito_or_guest && !no_first_run) { + if (!profile_->GetPrefs()->GetBoolean(prefs::kHeliumDidOnboarding)) { + UrlsToTabs({ GURL(chrome::kHeliumSetupURL) }, &tabs); + return { tabs, LaunchResult::kWithGivenUrls };