diff --git a/CommandLine/Program.cs b/CommandLine/Program.cs
index 79fe26f8..4ef2b7cd 100644
--- a/CommandLine/Program.cs
+++ b/CommandLine/Program.cs
@@ -105,7 +105,7 @@ public int OnExecute()
if (Flags == null)
{
- Flags = configuration.Flags;
+ Flags = configuration.SerializeFlags();
}
logger.Info($"Flags: {Flags}");
logger.Info($"Rom: {Rom}");
diff --git a/CommandLine/Sample.json b/CommandLine/Sample.json
index 0887e5cb..d6327e65 100644
--- a/CommandLine/Sample.json
+++ b/CommandLine/Sample.json
@@ -103,6 +103,7 @@
"ShuffleDripperEnemy": false,
"ShuffleEncounters": false,
"ShuffleEnemyHP": false,
+"ShuffleBossHP": "VANILLA",
"ShuffleGP": false,
"ShuffleItemDropFrequency": true,
"ShuffleLifeExperience": false,
diff --git a/CoreSourceGenerator/CoreSourceGenerator.csproj b/CoreSourceGenerator/CoreSourceGenerator.csproj
index 9295af99..e654d119 100644
--- a/CoreSourceGenerator/CoreSourceGenerator.csproj
+++ b/CoreSourceGenerator/CoreSourceGenerator.csproj
@@ -25,7 +25,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/CoreSourceGenerator/FlagsSerializeGenerator.cs b/CoreSourceGenerator/FlagsSerializeGenerator.cs
index 1b64b1e2..2ce01281 100644
--- a/CoreSourceGenerator/FlagsSerializeGenerator.cs
+++ b/CoreSourceGenerator/FlagsSerializeGenerator.cs
@@ -292,7 +292,7 @@ private static void GenerateReactiveProperty(StringBuilder sb, ReactiveFieldInfo
sb.AppendLine($"{indent} {{");
sb.AppendLine($"{indent} {field.FieldName} = value;");
sb.AppendLine($"{indent} OnPropertyChanged(nameof({field.PropertyName}));");
- sb.AppendLine($"{indent} OnPropertyChanged(nameof(Flags));");
+ sb.AppendLine($"{indent} OnPropertyChanged(\"Flags\");");
sb.AppendLine($"{indent} }}");
sb.AppendLine($"{indent} }}");
sb.AppendLine($"{indent} }}{defaultValue}");
diff --git a/CrossPlatformUI.Desktop/LocalFilePersistenceService.cs b/CrossPlatformUI.Desktop/LocalFilePersistenceService.cs
index bda9c2d7..cbf172c8 100644
--- a/CrossPlatformUI.Desktop/LocalFilePersistenceService.cs
+++ b/CrossPlatformUI.Desktop/LocalFilePersistenceService.cs
@@ -13,8 +13,6 @@ namespace CrossPlatformUI.Desktop;
[RequiresUnreferencedCode("Newtonsoft.Json uses reflection")]
public class LocalFilePersistenceService : ISuspendSyncService // : ISuspensionDriver
{
- // TODO put this in appdata
- public const string SettingsFilename = "Settings.json";
public string? SettingsPath;
public LocalFilePersistenceService()
@@ -36,7 +34,7 @@ public LocalFilePersistenceService()
public object? LoadState()
{
- var data = File.ReadAllText(SettingsFilename);
+ var data = File.ReadAllText(App.SETTINGS_FILENAME);
return JsonConvert.DeserializeObject