~ruther/NosSmooth.Local

91dd37ebaaacac589d16d2ec29dfe74013a15ab9 — Rutherther 2 years ago 279f353
feat(injector): obtain full path of nethost.dll
M src/Inject/NosSmooth.Injector/NosInjector.cs => src/Inject/NosSmooth.Injector/NosInjector.cs +1 -0
@@ 205,6 205,7 @@ public class NosInjector
    {
        string? foundPath = pathsToSearch
            .Select(x => Path.Join(x, "nethost.dll"))
            .Select(Path.GetFullPath)
            .FirstOrDefault(File.Exists);

        if (foundPath is null)

M src/Inject/NosSmooth.Injector/NosSmooth.Injector.csproj => src/Inject/NosSmooth.Injector/NosSmooth.Injector.csproj +2 -2
@@ 5,8 5,8 @@
    <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.dll</AllowedOutputExtensionsInPackageBuildOutputFolder>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <VersionPrefix>1.1.2</VersionPrefix>
    <PackageReleaseNotes>Update Inject.</PackageReleaseNotes>
    <VersionPrefix>1.1.3</VersionPrefix>
    <PackageReleaseNotes>Use full path when injecting.</PackageReleaseNotes>
  </PropertyGroup>

  <ItemGroup>

Do not follow this link