Skip to content
Snippets Groups Projects
Unverified Commit 1b336d97 authored by GyDi's avatar GyDi
Browse files

fix: adjust init launch on dev

parent 7b186673
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,12 @@ impl Sysopt {
self.auto_launch = Some(auto);
// 避免在开发时将自启动关了
#[cfg(feature = "verge-dev")]
if !enable {
return Ok(());
}
let auto = self.auto_launch.as_ref().unwrap();
// macos每次启动都更新登录项,避免重复设置登录项
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment