From 497aa34c729e60a156824c2c7d1f738251c6687e Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Sun, 7 May 2023 17:34:36 +0200 Subject: [PATCH] WIN Disable first run --- build/patches/00WIN-Disable-first-run.patch | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build/patches/00WIN-Disable-first-run.patch diff --git a/build/patches/00WIN-Disable-first-run.patch b/build/patches/00WIN-Disable-first-run.patch new file mode 100644 index 00000000..702d6205 --- /dev/null +++ b/build/patches/00WIN-Disable-first-run.patch @@ -0,0 +1,22 @@ +From: uazo +Date: Sun, 7 May 2023 14:18:46 +0000 +Subject: WIN Disable first run + +--- + chrome/browser/ui/startup/first_run_service.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/chrome/browser/ui/startup/first_run_service.cc b/chrome/browser/ui/startup/first_run_service.cc +--- a/chrome/browser/ui/startup/first_run_service.cc ++++ b/chrome/browser/ui/startup/first_run_service.cc +@@ -206,7 +206,7 @@ bool IsFirstRunMarkedFinishedInPrefs() { + + // static + void FirstRunService::RegisterLocalStatePrefs(PrefRegistrySimple* registry) { +- registry->RegisterBooleanPref(prefs::kFirstRunFinished, false); ++ registry->RegisterBooleanPref(prefs::kFirstRunFinished, true); + registry->RegisterStringPref(prefs::kFirstRunStudyGroup, ""); + } + +-- +2.25.1