feat: skip version

Allows to skip the game buiold number version check.
Related to #13.
This commit is contained in:
Janek
2024-04-03 20:02:36 +02:00
parent 212c88efaa
commit 900e5d2acc
4 changed files with 11 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ async fn main() -> anyhow::Result<()> {
let radar_clone = radar_data.clone();
let dma_handle = tokio::spawn(async move {
if let Err(err) = dma::run(radar_clone, cli.connector, cli.pcileech_device).await {
if let Err(err) = dma::run(radar_clone, cli.connector, cli.pcileech_device, cli.skip_version).await {
log::error!("Error in dma thread: [{}]", err.to_string());
} else {
println!("CS2 Process exited, exiting program...")