[fix:] file handling

This commit is contained in:
2026-06-03 16:36:36 +02:00
parent 1580d30d72
commit ac717c5345
+1 -1
View File
@@ -23,7 +23,7 @@ public class Settings
public static void Save()
{
if (!Directory.Exists(Global._instance.config_path))
if (!Directory.Exists(Global._instance.config_path) && !File.Exists((Global._instance.config_path)))
Directory.CreateDirectory(Global._instance.config_path);
// if (!string.IsNullOrEmpty(Global._instance.config_path)) _instance.settingsPath = Global._instance.config_path;