fixed argument parser

This commit is contained in:
2026-09-14 19:09:32 +02:00
parent 2618ec4728
commit f726597401
3 changed files with 5 additions and 4 deletions
@@ -76,6 +76,7 @@ public class SaveParsingOperation
Dictionary<string, object> parsedData;
await using (var gamestateStream = PathHelper.CreateTempFile())
{
// TODO: ckeck if it is zip archive or plain text like in Search.cs
using (var zipArchive = ZipFile.Open(_meta.GetSaveFilePath().Str, ZipArchiveMode.Read))
{
var zipEntry = zipArchive.Entries.FirstOrDefault(e => e.Name == "gamestate");
+1 -1
View File
@@ -40,7 +40,7 @@ public static class Program
#endif
new LaunchArgumentParser(
new LaunchArgument(["-d", "--debug"],
new LaunchArgument(["d", "debug"],
"enables debug log output to console",
() => IsDebug = true)
).AllowNoArguments().ParseAndHandle(args);