feat: add native mode

- Add native mode
- Fix bomb holder search and wrong bomb holder on round starts
This commit is contained in:
Janek
2024-04-17 18:43:21 +02:00
parent 10da0883a1
commit 00d883a41c
7 changed files with 515 additions and 55 deletions

View File

@@ -40,7 +40,9 @@ fn version() -> String {
let commit_date = option_env!("VERGEN_GIT_COMMIT_DATE").unwrap_or("unknown");
let avail_cons = {
let inventory = Inventory::scan();
inventory.available_connectors().join(", ")
let mut avail = inventory.available_connectors();
avail.push("native".into());
avail.join(", ")
};
format!(" {pkg_ver} (rev {git_hash})\nCommit Date: {commit_date}\nAvailable Connectors: {avail_cons}")