install keys
This commit is contained in:
@@ -8,15 +8,18 @@ public class AppConfig : IChildSettings, ISettingsIdentifier
|
||||
public static string Identifier => "pilz.appconfig";
|
||||
|
||||
public string LastMinecraftProfilePath { get; set; }
|
||||
public string LastConfigFilePath { get; set; }
|
||||
public bool LastIncludeExtras { get; set; }
|
||||
public List<string> KeepLocalFiles { get; } = [];
|
||||
|
||||
[JsonIgnore, Obsolete]
|
||||
public string ConfigFilePath { get; private set; }
|
||||
[JsonProperty("ConfigFilePath"), Obsolete]
|
||||
private string ConfigFilePathLegacy
|
||||
{
|
||||
set => ConfigFilePath = value;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
LastMinecraftProfilePath = null;
|
||||
LastConfigFilePath = null;
|
||||
KeepLocalFiles.Clear();
|
||||
}
|
||||
|
||||
public static AppConfig Instance => Program.Settings.Get<AppConfig>();
|
||||
|
||||
Reference in New Issue
Block a user