fix(windows): repair a data root owned by another account

This commit is contained in:
wonfen
2026-08-30 11:45:04 +08:00
parent 1b76b222fb
commit 632c5b2bc5
3 changed files with 254 additions and 6 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ use tokio::sync::oneshot;
use warp::Filter as _;
const INSTANCE_TOKEN_HEADER: &str = "x-instance-token";
const INSTANCE_RECORD_FILE: &str = "singleton-instance.json";
const INSTANCE_LOCK_FILE: &str = "singleton-instance.lock";
pub(crate) const INSTANCE_RECORD_FILE: &str = "singleton-instance.json";
pub(crate) const INSTANCE_LOCK_FILE: &str = "singleton-instance.lock";
#[derive(Deserialize, Debug)]
struct QueryParam {