Move platform specific configs in config.rs

This commit is contained in:
Albert24GG
2024-03-05 13:40:07 +02:00
parent 10a908ab6f
commit 96da055d1a
5 changed files with 72 additions and 57 deletions

View File

@@ -93,7 +93,7 @@ fn main() -> Result<()> {
// Create the output directory if it doesn't exist.
fs::create_dir_all(&output)?;
let mut process = Process::new("cs2.exe")?;
let mut process = Process::new(config::PROC_NAME)?;
let now = Instant::now();