Skip to content

Commit

Permalink
Merge branch 'dev' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Oct 8, 2024
2 parents c1e9fde + 27a5868 commit 133d43e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,25 @@
<Version>17.10.0</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Autofac">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Core">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Json">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Kernel">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Testing">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.WPF">
<Version>0.47</Version>
<Version>0.47.2-nightly-20241006-095553</Version>
</PackageVersion>
<PackageVersion Include="Newtonsoft.Json">
<Version>13.0.3</Version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.IO.Abstractions;
using Mutagen.Bethesda.Environments.DI;
using Mutagen.Bethesda.Plugins;
using Mutagen.Bethesda.Plugins.Binary.Headers;
using Mutagen.Bethesda.Plugins.Binary.Parameters;
using Mutagen.Bethesda.Plugins.Order;
using Mutagen.Bethesda.Plugins.Records;
Expand Down Expand Up @@ -45,12 +46,8 @@ public async Task<FilePath> Run(
var modPath = new ModPath(listing.ModKey,
_dataDirectoryProvider.Path.GetFile(listing.ModKey.FileName).Path);
if (!_fileSystem.File.Exists(modPath)) return null;
using var mod = ModInstantiator.ImportGetter(modPath, _gameReleaseContext.Release,
new BinaryReadParameters()
{
FileSystem = _fileSystem
});
return new ModFlags(mod);
var modHeader = ModHeaderFrame.FromPath(modPath, _gameReleaseContext.Release);
return new KeyedMasterStyle(modPath.ModKey, modHeader.MasterStyle);
})
.NotNull());

Expand Down

0 comments on commit 133d43e

Please sign in to comment.