Add settings infrastructure

This commit is contained in:
Yoshi Askharoun
2024-05-16 21:01:24 -05:00
parent 09e8c24398
commit f234433cf2
5 changed files with 110 additions and 1 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ namespace ZuneModCore
typeof(MbidLocatorMod),
}.AsReadOnly();
public static string ZuneInstallDir { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Zune");
public static string DefaultZuneInstallDir { get; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Zune");
public string ZuneInstallDir { get; set; } = DefaultZuneInstallDir;
private static List<Mod>? _mods;
public static IReadOnlyList<Mod> AvailableMods