fix config path
This commit is contained in:
@@ -48,11 +48,11 @@ static Config LoadConfig()
|
|||||||
WriteIndented = true
|
WriteIndented = true
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!File.Exists("config.json"))
|
if (!File.Exists("/config.json"))
|
||||||
{
|
{
|
||||||
Log.Fatal("No config file found, creating dummy config.");
|
Log.Fatal("No config file found, creating dummy config.");
|
||||||
CreateConfig(serializationOptions);
|
CreateConfig(serializationOptions);
|
||||||
System.Environment.Exit(1);
|
Environment.Exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
var configFile = File.ReadAllText("config.json");
|
var configFile = File.ReadAllText("config.json");
|
||||||
|
|||||||
Reference in New Issue
Block a user