chore: update auto launch

This commit is contained in:
GyDi
2022-08-24 22:41:12 +08:00
parent 8de67411ac
commit 4c72ac14e6
3 changed files with 5 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ impl Sysopt {
let auto = AutoLaunchBuilder::new()
.set_app_name(app_name)
.set_app_path(app_path)
.build();
.build()?;
if let Some(enable) = enable {
// fix issue #26