Fix some bugs and add debug menu

This commit is contained in:
Noraa Junker
2026-02-20 17:16:27 +01:00
parent 03017e4703
commit 989c2eab23
14 changed files with 379 additions and 20 deletions

View File

@@ -33,14 +33,20 @@ namespace RunnerV2.ModuleInterfaces
var thread = new Thread(() =>
{
uint version = 0x00010008;
int hr = MddBootstrapInitialize(version, 0, IntPtr.Zero);
if (hr < 0)
try
{
throw new InvalidOperationException($"Windows app sdk could not be initialized for MouseJump. HR code:{hr}");
}
uint version = 0x00010008;
int hr = MddBootstrapInitialize(version, 0, IntPtr.Zero);
if (hr < 0)
{
throw new InvalidOperationException($"Windows app sdk could not be initialized for MouseJump. HR code:{hr}");
}
FindMyMouseMain();
FindMyMouseMain();
}
catch
{
}
});
thread.SetApartmentState(ApartmentState.STA);
thread.Start();