jglim / ODB

Utilities for Softing binary ObjectDB files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ODBExtract - issue when with same name jar file overwriting

WSorban opened this issue · comments

Sometimes the jar file can have the same name, then it gets overwritten.
Changing this line of code, in Program.cs, to the following, should fix the problem:
File.WriteAllBytes($"{Path.GetFileNameWithoutExtension(fileName)}_{i}_{preferredName}", extractedZips[i]);

Fixed, thanks for pointing that out!