Merge pull request #4 from atomsk-0/jsonFix

change "emtpy" json from {} to [].
This commit is contained in:
Dexrn ZacAttack
2025-02-24 03:43:26 -08:00
committed by GitHub

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