mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2025-01-10 19:55:08 +08:00
Only convert XML files with more than one dot in the filename when dragged into RPF Explorer
This commit is contained in:
parent
6b26eb16de
commit
28eab37033
@ -3886,8 +3886,8 @@ namespace CodeWalker
|
||||
return;
|
||||
}
|
||||
|
||||
var raw = files.Where(x => !x.EndsWith(".xml"));
|
||||
var xml = files.Except(raw);
|
||||
var xml = files.Where(x => x.EndsWith(".xml") && (x.IndexOf('.') != x.LastIndexOf('.')));
|
||||
var raw = files.Except(xml);
|
||||
|
||||
if (raw.Count() > 0) ImportRaw(raw.ToArray());
|
||||
if (xml.Count() > 0) ImportXml(xml.ToArray());
|
||||
|
Loading…
Reference in New Issue
Block a user