Skip to content

Commit

Permalink
Fixed: Files in Spaces on GameBanana should now be correctly processe…
Browse files Browse the repository at this point in the history
…d by Sanitize
  • Loading branch information
Sewer56 committed Nov 3, 2022
1 parent 90f14be commit 4b8e151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public static string SanitizeFileName(string fileName, bool replaceDot)
if (replaceDot)
noExtension = noExtension.Replace('.', '_');

// GB requires replacing spaces with underscores.
noExtension = noExtension.Replace(' ', '_');
var extension = Path.GetExtension(fileName);
var replaced = GbFileNameRegex.Replace(noExtension, "");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryUrl>https://github.com/Sewer56/Update</RepositoryUrl>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

Expand Down

0 comments on commit 4b8e151

Please sign in to comment.