mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: fix compile error in rust bindings
This commit is contained in:
@@ -7,7 +7,7 @@ lazy_static! {
|
||||
pub static ref CONFIG: Config = {
|
||||
let config_file = Path::new("./server_config.json");
|
||||
if !config_file.exists() {
|
||||
let default_config = include_str!("../server_config.json")
|
||||
let default_config = include_str!("../server_config.json");
|
||||
fs::write(config_file,default_config).unwrap();
|
||||
}
|
||||
let s = fs::read(config_file).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user