feat: add reset button

This commit is contained in:
MystiPanda
2024-02-22 00:19:45 +08:00
parent bd8f07c90a
commit ce8383b26f
6 changed files with 50 additions and 11 deletions

View File

@@ -148,9 +148,6 @@ impl Sysopt {
/// init the auto launch
pub fn init_launch(&self) -> Result<()> {
let enable = { Config::verge().latest().enable_auto_launch };
let enable = enable.unwrap_or(false);
let app_exe = current_exe()?;
let app_exe = dunce::canonicalize(app_exe)?;
let app_name = app_exe