Skip to content

Commit

Permalink
Only use uppercase gen if full path is uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
PikminGuts92 committed Apr 17, 2024
1 parent b879c5e commit 7402b69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Src/Apps/ArkHelper/Apps/PatchCreatorApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public void Parse(PatchCreatorOptions op)
// Use upper case if any file names do
var genDirNameInternal = ark
.Entries
.Any(x => x.FileName.Any(char.IsAsciiLetterUpper))
.Any(x => x.FileName
.Where(char.IsAsciiLetter)
.All(char.IsAsciiLetterUpper))
? "GEN"
: "gen";

Expand Down

0 comments on commit 7402b69

Please sign in to comment.