From 357c35de42d12d9bc60441139af2ddd86a7dc53b Mon Sep 17 00:00:00 2001 From: nessi Date: Tue, 17 Mar 2026 21:56:57 +0100 Subject: [PATCH] refactor: change Windows service start type from Automatic to AutoStart Update service configuration to use ServiceStartType::AutoStart instead of Automatic for consistency with Windows service API naming conventions. --- desktop-client/tunnel-helper/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-client/tunnel-helper/src/main.rs b/desktop-client/tunnel-helper/src/main.rs index d12f766..a9a6b16 100644 --- a/desktop-client/tunnel-helper/src/main.rs +++ b/desktop-client/tunnel-helper/src/main.rs @@ -241,7 +241,7 @@ fn install_windows_service() -> Result<(), String> { name: OsString::from(SERVICE_NAME), display_name: OsString::from(SERVICE_DISPLAY_NAME), service_type: ServiceType::OWN_PROCESS, - start_type: ServiceStartType::Automatic, + start_type: ServiceStartType::AutoStart, error_control: ServiceErrorControl::Normal, executable_path: helper_path, launch_arguments: vec![OsString::from("service")],