change "emtpy" json from {} to [].

This commit is contained in:
atomsk-0
2025-02-24 13:34:17 +02:00
parent 71004c4179
commit d6a3a34bde

View File

@@ -39,7 +39,7 @@ namespace WinDurango.UI.Settings
if (!File.Exists(filePath))
{
Logger.WriteInformation("Creating empty InstalledPackages.json");
File.WriteAllText(filePath, "{}");
File.WriteAllText(filePath, "[]");
_installedPackages = [];
}
else