From 0d1f1f14971be7421565f8434e177a827c4466db Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:40:10 +0400 Subject: [PATCH] refactor: suppress first-run warnings --- src-tauri/src/profile/manager.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src-tauri/src/profile/manager.rs b/src-tauri/src/profile/manager.rs index 246b7fc..b19f702 100644 --- a/src-tauri/src/profile/manager.rs +++ b/src-tauri/src/profile/manager.rs @@ -1107,6 +1107,14 @@ impl ProfileManager { "user_pref(\"app.update.background.scheduling.enabled\", false);".to_string(), // Suppress upgrade dialogs on startup "user_pref(\"browser.startup.upgradeDialog.enabled\", false);".to_string(), + // Zen browser specific - disable welcome screen + "user_pref(\"zen.welcome-screen.seen\", true);".to_string(), + // Additional first-run suppressions + "user_pref(\"app.normandy.first_run\", false);".to_string(), + "user_pref(\"trailhead.firstrun.didSeeAboutWelcome\", true);".to_string(), + "user_pref(\"datareporting.policy.dataSubmissionPolicyBypassNotification\", true);" + .to_string(), + "user_pref(\"toolkit.telemetry.reportingpolicy.firstRun\", false);".to_string(), ] }