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

@@ -28,6 +28,10 @@ pub struct Cli {
/// Verbosity level for logging to the console
#[arg(value_enum, long, short, ignore_case = true, default_value_t = Loglevel::Warn)]
pub loglevel: Loglevel,
/// Skip the dwBuildNumber check, allows for running with *possibly* outdated offsets.
#[arg(long)]
pub skip_version: bool,
}
fn version() -> String {