mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-19 22:37:46 +01:00
Make QuickImport compare case-insensitive.
This commit is contained in:
parent
c503aa2a14
commit
bbc090085b
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ public partial class ModEditWindow
|
||||||
Directory.CreateDirectory(directory);
|
Directory.CreateDirectory(directory);
|
||||||
_editor.Compactor.WriteAllBytes(_targetPath!, _file!.Write());
|
_editor.Compactor.WriteAllBytes(_targetPath!, _file!.Write());
|
||||||
_editor.FileEditor.Revert(_editor.Mod!, _editor.Option!);
|
_editor.FileEditor.Revert(_editor.Mod!, _editor.Option!);
|
||||||
var fileRegistry = _editor.Files.Available.First(file => file.File.FullName == _targetPath);
|
var fileRegistry = _editor.Files.Available.First(file => file.File.FullName.Equals(_targetPath, StringComparison.OrdinalIgnoreCase));
|
||||||
_editor.FileEditor.AddPathsToSelected(_editor.Option!, [fileRegistry], _subDirs);
|
_editor.FileEditor.AddPathsToSelected(_editor.Option!, [fileRegistry], _subDirs);
|
||||||
_editor.FileEditor.Apply(_editor.Mod!, _editor.Option!);
|
_editor.FileEditor.Apply(_editor.Mod!, _editor.Option!);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue