[fix:] added default config- and wiki-paths
This commit is contained in:
12
Settings.cs
12
Settings.cs
@@ -61,8 +61,16 @@ public class Global
|
||||
_instance = this;
|
||||
}
|
||||
|
||||
public string config_path { get; set; } = "";
|
||||
public string wiki_storage_path { get; set; } = "";
|
||||
public string config_path { get; set; } = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||
"logofclient",
|
||||
"config.json");
|
||||
|
||||
public string wiki_storage_path { get; set; } = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||
"logofclient",
|
||||
"wiki");
|
||||
|
||||
public List<Country> countries { get; set; } = new();
|
||||
public string font_path { get; set; } = Path.Combine(AppContext.BaseDirectory, "assets", "fonts");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user