Skip to content

Commit

Permalink
Update src-tauri/src/auto_launcher.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Pearce <[email protected]>
  • Loading branch information
Misieq01 and brianp authored Jan 10, 2025
1 parent c99d9bf commit 44772ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src-tauri/src/auto_launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ impl AutoLauncher {
self.create_task_scheduler_for_admin_startup(true)
.await
.map_err(|e| anyhow!("Failed to create task scheduler for admin startup: {}", e))?;
};

if !config_is_auto_launcher_enabled {
} else {
info!(target: LOG_TARGET, "Disabling admin auto-launcher");
self.create_task_scheduler_for_admin_startup(false)
.await
Expand Down

0 comments on commit 44772ac

Please sign in to comment.