Compare commits
2 Commits
afdb7b8573
...
49262093d6
Author | SHA1 | Date |
---|---|---|
Anna | 49262093d6 | |
Anna | 1db421ec1d |
|
@ -44,11 +44,9 @@ public static class Siggingway {
|
|||
}
|
||||
|
||||
var actualType = info.ActualType;
|
||||
PluginLog.Information($"actualType: {actualType}");
|
||||
if (actualType.IsGenericType && actualType.GetGenericTypeDefinition() == typeof(Nullable<>)) {
|
||||
// unwrap the nullable
|
||||
actualType = actualType.GetGenericArguments()[0];
|
||||
PluginLog.Information($"unwrapped actualType: {actualType}");
|
||||
}
|
||||
|
||||
switch (sig.UseFlags) {
|
||||
|
@ -106,7 +104,6 @@ public static class Siggingway {
|
|||
|
||||
var hook = ctor.Invoke(new object?[] { ptr, detour });
|
||||
info.SetValue(self, hook);
|
||||
PluginLog.Information($"Hook {selfType.FullName}.{info.Name} set up");
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
|
|
Loading…
Reference in New Issue