new ZipArchive(typeof(AssemblyQuestLoader).Assembly.GetManifestResourceStream(resourceName)!);
foreach (ZipArchiveEntry entry in zipArchive.Entries)
{
- using Stream stream = entry.Open();
- loadFunction(entry.Name, stream);
+ if (entry.Name.EndsWith(".json"))
+ {
+ using Stream stream = entry.Open();
+ loadFunction(entry.Name, stream);
+ }
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>
- <Version>0.13</Version>
+ <Version>0.14</Version>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>