[fix:] added default config- and wiki-paths

This commit is contained in:
Elias Fierke
2026-01-18 16:13:40 +01:00
parent ea31637bdb
commit 5dcb44aa2a

View File

@@ -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");