mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-11-05 20:50:03 +08:00
Add first offsets config for linux
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user