mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: ignore disable auto launch error
This commit is contained in:
@@ -206,7 +206,7 @@ impl Sysopt {
|
|||||||
|
|
||||||
match enable {
|
match enable {
|
||||||
true => auto_launch.enable()?,
|
true => auto_launch.enable()?,
|
||||||
false => auto_launch.disable()?,
|
false => crate::log_if_err!(auto_launch.disable()), // 忽略关闭的错误
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user