mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Poprawiony defSorter - sprawdź czy teraz łapie wszystko.
This commit is contained in:
parent
82547d6829
commit
21112b0023
BIN
DefSorter.exe
BIN
DefSorter.exe
Binary file not shown.
@ -20,7 +20,7 @@ namespace DefSorter
|
||||
string[] pliczki = Directory.GetFiles(Directory.GetCurrentDirectory());
|
||||
foreach (string ss in pliczki)
|
||||
{
|
||||
if (!(ss.EndsWith(".DEF")))
|
||||
if ((!(ss.EndsWith(".DEF")))&&(!(ss.EndsWith(".def"))))
|
||||
continue;
|
||||
else ile++;
|
||||
}
|
||||
@ -40,7 +40,7 @@ namespace DefSorter
|
||||
progressBar1.Maximum = Convert.ToInt32(label2.Text);
|
||||
foreach (string ss in pliczki)
|
||||
{
|
||||
if (!(ss.EndsWith(".DEF")))
|
||||
if ((!(ss.EndsWith(".DEF"))) && (!(ss.EndsWith(".def"))))
|
||||
continue;
|
||||
FileStream czytacz = File.OpenRead(ss);
|
||||
int coTo = czytacz.ReadByte();
|
||||
|
Loading…
Reference in New Issue
Block a user