mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-09-04 08:13:18 +00:00
fix(patch): stop the deployed launcher inheriting a read-only flag
This commit is contained in:
@@ -152,6 +152,8 @@ namespace AsarSharp.AsarFileSystem
|
||||
return;
|
||||
}
|
||||
|
||||
// A read-only or hidden archive would fail the swap the same way an overwrite does.
|
||||
Extensions.ClearAttributes(dest);
|
||||
// File.Replace swaps in one step, so dest is never observed missing or half-written.
|
||||
File.Replace(tempPath, dest, null, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user