mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 08:17:59 +01:00
Remove all non-ascii symbols from path during import, because FFXIV can not handle them correctly.
This commit is contained in:
parent
04c42b7842
commit
6012b2c6ea
2 changed files with 21 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ namespace Penumbra.Importer
|
|||
private DirectoryInfo CreateModFolder( string modListName )
|
||||
{
|
||||
var correctedPath = Path.Combine( _outDirectory.FullName,
|
||||
Path.GetFileName( modListName ).RemoveInvalidPathSymbols() );
|
||||
Path.GetFileName( modListName ).RemoveInvalidPathSymbols().RemoveNonAsciiSymbols() );
|
||||
var newModFolder = new DirectoryInfo( correctedPath );
|
||||
var i = 2;
|
||||
while( newModFolder.Exists && i < 12 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue