Compare commits

...

2 Commits

Author SHA1 Message Date
Anna 49262093d6
chore: bump version to 1.0.1 2022-01-11 05:25:21 -05:00
Anna 1db421ec1d
fix: remove debug lines 2022-01-11 05:25:06 -05:00
2 changed files with 1 additions and 4 deletions

View File

@ -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;
}

View File

@ -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>