From 2adbf900aeb3c610f7813a3d81f062494ea2d256 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Tue, 24 Mar 2026 09:08:08 +0400 Subject: [PATCH] chore: disable: deamon --- src-tauri/src/daemon_spawn.rs | 1 + src-tauri/src/settings_manager.rs | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src-tauri/src/daemon_spawn.rs b/src-tauri/src/daemon_spawn.rs index 1abfdcd..4e4d797 100644 --- a/src-tauri/src/daemon_spawn.rs +++ b/src-tauri/src/daemon_spawn.rs @@ -1,4 +1,5 @@ // Daemon Spawn - Start the daemon from the GUI +// Currently disabled; will be re-enabled in the future use serde::Deserialize; use std::fs; diff --git a/src-tauri/src/settings_manager.rs b/src-tauri/src/settings_manager.rs index 0cd96de..d107a06 100644 --- a/src-tauri/src/settings_manager.rs +++ b/src-tauri/src/settings_manager.rs @@ -178,10 +178,8 @@ impl SettingsManager { } pub fn should_show_launch_on_login_prompt(&self) -> Result> { - let settings = self.load_settings()?; - // Show if: user has NOT declined AND autostart is NOT enabled - let autostart_enabled = crate::daemon::autostart::is_autostart_enabled(); - Ok(!settings.launch_on_login_declined && !autostart_enabled) + // Daemon is currently disabled, never show this prompt + Ok(false) } pub fn decline_launch_on_login(&self) -> Result<(), Box> {