Loading Logging etc

This commit is contained in:
Alex Emmet 2025-09-08 20:37:43 +02:00
commit bba3f548ab
6 changed files with 520 additions and 264 deletions

View file

@ -1,9 +1,8 @@
use crate::util::file_util::{load_file, save_file};
use json::JsonValue;
use std::fs::{self, File};
use std::io::{Read, Write};
use std::path::Path;
use uuid::Uuid;
use crate::util::file_util::{load_file, save_file};
pub struct ConfigUtil {
pub config: JsonValue,
@ -37,6 +36,6 @@ impl ConfigUtil {
}
pub fn save(&self) {
save_file("","config.json", &self.config.to_string());
save_file("", "config.json", &self.config.to_string());
}
}