mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Attempt to unlock WVMCore.dll
This commit is contained in:
@@ -26,6 +26,13 @@ namespace ZuneModCore.Mods
|
||||
// Make a backup of the file
|
||||
File.Copy(WMVCORE_PATH, Path.Combine(StorageDirectory, "WMVCORE.original.dll"), true);
|
||||
|
||||
// NOTE: This is quite dangerous to do blindly, so let's not
|
||||
// Kill processes that are using WMVCORE.dll
|
||||
//foreach (System.Diagnostics.Process proc in FileUtil.WhoIsLocking(WMVCORE_PATH))
|
||||
//{
|
||||
// proc.Kill();
|
||||
//}
|
||||
|
||||
// Copy the pre-Anniversary Update WMVCORE.dll
|
||||
File.Copy("Resources\\WMVCORE.dll", WMVCORE_PATH, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user