Skip to content

Commit

Permalink
Merge pull request #2656 from wabbajack-tools/revert_version_info
Browse files Browse the repository at this point in the history
Revert #2614
  • Loading branch information
JanuarySnow authored Nov 23, 2024
2 parents 822ff3a + aef84ad commit 967b0bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### Changelog

#### Version - 3.7.5.1 - 11/23/2024
* Reverted "Wabbajack will now put modfile Titles, Description and Version into the `.meta` file." as it didnt account for formatting in descriptions that could confuse the iniparser

#### Version - 3.7.5.0 - 11/23/2024
* Fix for Wabbajack trying to work with an expired OAuth token.
* Added pre-compile login check.
Expand Down
7 changes: 1 addition & 6 deletions Wabbajack.Downloaders.Nexus/NexusDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,9 @@ public static string FixupSummary(string? argSummary)
public override IEnumerable<string> MetaIni(Archive a, Nexus state)
{
var meta = state.Game.MetaData();
// modid, fileid and gamename are givens - they will always be there even if manually constructed metas
// the others may not - they should if queried from Nexus, but not guaranteed
var NameNull = (state.Name is not null) ? state.Name : string.Empty;
var DescriptionNull = (state.Description is not null) ? state.Description : string.Empty;
var VersionNull = (state.Version is not null) ? state.Version : string.Empty;
return new[]
{
$"gameName={meta.MO2ArchiveName ?? meta.NexusName}", $"modID={state.ModID}",$"modName={NameNull}",$"description={DescriptionNull}",$"version={VersionNull}", $"fileID={state.FileID}"
$"gameName={meta.MO2ArchiveName ?? meta.NexusName}", $"modID={state.ModID}", $"fileID={state.FileID}"
};
}
}

0 comments on commit 967b0bb

Please sign in to comment.