Skip to content

Commit 6e423a9

Browse files
committed
fix(game-close): target main process instead of stub
1 parent 241400c commit 6e423a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Hi3Helper.Plugin.Wuwa/Exports.GameLaunch.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ private static bool TryGetGameExecutablePath(GameManagerExtension.RunGameFromGam
164164
}
165165

166166
wuwaGameManager.GetGamePath(out string? gamePath);
167-
string? executablePath = presetConfig.StartExecutableName;
167+
presetConfig.comGet_GameExecutableName(out string executablePath);
168168

169169
gamePath?.NormalizePathInplace();
170-
executablePath?.NormalizePathInplace();
170+
executablePath.NormalizePathInplace();
171171

172-
if (string.IsNullOrEmpty(gamePath) || string.IsNullOrEmpty(executablePath))
172+
if (string.IsNullOrEmpty(gamePath))
173173
{
174174
return false;
175175
}

0 commit comments

Comments
 (0)