We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9912fbc commit 08b4757Copy full SHA for 08b4757
toolsrc/MetahookInstaller/MetahookInstallerAvalonia/ViewModels/MainViewModel.cs
@@ -271,6 +271,11 @@ private void InstallMod(string basePath)
271
var sourceMetaHookPath = Path.Combine(basePath, "MetaHook.exe");
272
var targetMetaHookPath = Path.Combine(gamePath, "MetaHook.exe");
273
bool isNonBlobEngine = IsLegitimatePE(hwDllPath);
274
+ // 如果hw.dll是合法PE但Build目录中没有MetaHook.exe,回退到MetaHook_blob.exe
275
+ if (isNonBlobEngine && !File.Exists(sourceMetaHookPath))
276
+ {
277
+ isNonBlobEngine = false;
278
+ }
279
if (isNonBlobEngine)
280
{
281
if (modName.Equals("svencoop", StringComparison.OrdinalIgnoreCase))
0 commit comments