mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-12 21:52:13 +08:00
refactor(ipc): remove unused commands
This commit is contained in:
@@ -373,11 +373,3 @@ pub async fn set_auto_launch(is_enable: bool, is_admin: bool) -> Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn is_auto_launch_enabled() -> Result<bool> {
|
||||
if is_task_enabled(TaskMode::Admin)? {
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
is_task_enabled(TaskMode::User)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user