mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[FileTools] Fix archive naming
For some reason, headered files are not being rebuilt now... investigating
This commit is contained in:
@@ -75,7 +75,7 @@ namespace SabreTools.Helper
|
|||||||
/// <param name="rom">RomData representing the new information</param>
|
/// <param name="rom">RomData representing the new information</param>
|
||||||
public static void WriteToManagedArchive(string input, string output, Rom rom)
|
public static void WriteToManagedArchive(string input, string output, Rom rom)
|
||||||
{
|
{
|
||||||
string archiveFileName = Path.Combine(output, rom.Machine + ".zip");
|
string archiveFileName = Path.Combine(output, rom.Machine.Name + ".zip");
|
||||||
|
|
||||||
// Delete an empty file first
|
// Delete an empty file first
|
||||||
if (File.Exists(archiveFileName) && new FileInfo(archiveFileName).Length == 0)
|
if (File.Exists(archiveFileName) && new FileInfo(archiveFileName).Length == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user