~ruther/NosSmooth.Local

af8f1f2c14370036c07377b5f8d806f563aabc72 — František Boháček 2 years ago b9a0a71
fix(inject): make sure type name is passed to inject command
1 files changed, 1 insertions(+), 1 deletions(-)

M src/Inject/NosSmooth.Injector.CLI/Commands/InjectCommand.cs
M src/Inject/NosSmooth.Injector.CLI/Commands/InjectCommand.cs => src/Inject/NosSmooth.Injector.CLI/Commands/InjectCommand.cs +1 -1
@@ 62,7 62,7 @@ namespace NosSmooth.Injector.CLI.Commands

            var dllName = Path.GetFileNameWithoutExtension(dllPath);
            return Task.FromResult
                (_injector.Inject(processId, dllPath, $"{dllName}.DllMain, {dllName}", methodName ?? "Main"));
                (_injector.Inject(processId, dllPath, typeName ?? $"{dllName}.DllMain, {dllName}", methodName ?? "Main"));
        }
    }
}
\ No newline at end of file

Do not follow this link