fix(singleton): repair Windows lock file permissions in place

This commit is contained in:
wonfen
2026-10-03 15:59:39 +08:00
parent d87bb7b6a3
commit 4a0882fc18
3 changed files with 51 additions and 19 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ fn open_instance_lock(path: &Path) -> Result<std::fs::File> {
std::fs::create_dir_all(parent)?;
#[cfg(windows)]
{
crate::core::owner_identity::open_or_create_private_current_user_file(path)
crate::core::owner_identity::open_or_create_current_user_lock(path)
}
#[cfg(unix)]