Add first offsets config for linux

This commit is contained in:
Albert24GG
2024-03-06 10:35:48 +02:00
parent 6a1600d432
commit 7e573bdcb6
4 changed files with 142 additions and 4 deletions

View File

@@ -86,8 +86,8 @@ fn main() -> Result<()> {
TermLogger::init(log_level, config, TerminalMode::Mixed, ColorChoice::Auto)?;
if !Path::new("config.json").exists() {
bail!("Missing config.json file");
if !Path::new(config::OFFSETS_CONF).exists() {
bail!("Missing {} file", config::OFFSETS_CONF);
}
// Create the output directory if it doesn't exist.