diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ca9720..41fcbe7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ### Changelog +#### Version - 2.4.4.2 - ??? +* Modlists are now exported as X.wabbajack where X is the name chosen in the Compiler UI + #### Version - 2.4.4.1 - 5/1/2021 * HOTFIX: downgrade cefsharp to fix the in-app browser (fixes Nexus login issue) diff --git a/Wabbajack/View Models/Compilers/MO2CompilerVM.cs b/Wabbajack/View Models/Compilers/MO2CompilerVM.cs index 63b140e4..12e92bf7 100644 --- a/Wabbajack/View Models/Compilers/MO2CompilerVM.cs +++ b/Wabbajack/View Models/Compilers/MO2CompilerVM.cs @@ -184,13 +184,18 @@ namespace Wabbajack public async Task> Compile() { AbsolutePath outputFile; + + var profileName = string.IsNullOrWhiteSpace(ModlistSettings.ModListName) + ? MOProfile + : ModlistSettings.ModListName; + if (Parent.OutputLocation.TargetPath == default) { - outputFile = (MOProfile + Consts.ModListExtension).RelativeTo(AbsolutePath.EntryPoint); + outputFile = (profileName + Consts.ModListExtension).RelativeTo(AbsolutePath.EntryPoint); } else { - outputFile = Parent.OutputLocation.TargetPath.Combine(MOProfile + Consts.ModListExtension); + outputFile = Parent.OutputLocation.TargetPath.Combine(profileName + Consts.ModListExtension); } try