mirror of https://github.com/deavminet/skippy.git
Configuration file is now closed and parsed into JSON and set as the runtime config
This commit is contained in:
parent
ad71724cb2
commit
4a6a7bc60f
|
@ -188,4 +188,7 @@ void loadConfig(string configPath)
|
|||
byte[] buffer;
|
||||
buffer.length = file.size();
|
||||
buffer = file.rawRead(buffer);
|
||||
file.close();
|
||||
|
||||
config = parseJSON(cast(string)buffer);
|
||||
}
|
Loading…
Reference in New Issue