From 63c4792e009419844412107dce218cd7fad2f306 Mon Sep 17 00:00:00 2001 From: hoshiizumiya <63837495+hoshiizumiya@users.noreply.github.com> Date: Sun, 23 Nov 2025 21:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E6=84=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Snap.Hutao/Service/Game/Island/GameIslandInterop.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Island/GameIslandInterop.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Island/GameIslandInterop.cs index 87eb72f..f578cf7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Island/GameIslandInterop.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Island/GameIslandInterop.cs @@ -101,7 +101,8 @@ internal sealed class GameIslandInterop : IGameIslandInterop try { // Wait a bit for process to initialize - // await Task.Delay(5000, token).ConfigureAwait(false); + // await Task.Delay(500, token).ConfigureAwait(false); + // ⚠️此处需要更多调查 // Inject using RemoteThread DllInjectionUtilities.InjectUsingRemoteThread(islandPath, context.Process.Id); @@ -240,4 +241,4 @@ internal sealed class GameIslandInterop : IGameIslandInterop } } } -} \ No newline at end of file +}