From f29ed9de63436d381e2b86986c9d0a19e5c14632 Mon Sep 17 00:00:00 2001 From: CherretGit Date: Mon, 17 Nov 2025 21:32:48 +0700 Subject: [PATCH] change path --- rust/crates/zaprett/src/autostart.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/crates/zaprett/src/autostart.rs b/rust/crates/zaprett/src/autostart.rs index 0310574..c2eb094 100644 --- a/rust/crates/zaprett/src/autostart.rs +++ b/rust/crates/zaprett/src/autostart.rs @@ -6,7 +6,7 @@ pub async fn set_autostart() -> Result<(), anyhow::Error> { let autostart_path = MODULE_PATH.join("autostart"); if !get_autostart() { - File::create(MODULE_PATH.join("autostart")).await?; + File::create(autostart_path).await?; } else { fs::remove_file(autostart_path).await?; }