mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-10-07 19:40:02 +08:00
Dump linux files in generated_linux
This commit is contained in:
@@ -78,3 +78,9 @@ pub const OFFSETS_CONF: &str = "config.json";
|
|||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
pub const OFFSETS_CONF: &str = "config_linux.json";
|
pub const OFFSETS_CONF: &str = "config_linux.json";
|
||||||
|
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
|
pub const DEFAULT_OUT_DIR: &str = "generated";
|
||||||
|
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
pub const DEFAULT_OUT_DIR: &str = "generated_linux";
|
||||||
|
@@ -57,7 +57,7 @@ struct Args {
|
|||||||
|
|
||||||
/// Output directory for generated files.
|
/// Output directory for generated files.
|
||||||
/// Defaults to `generated`.
|
/// Defaults to `generated`.
|
||||||
#[arg(long, default_value = "generated")]
|
#[arg(long, default_value = config::DEFAULT_OUT_DIR)]
|
||||||
output: String,
|
output: String,
|
||||||
|
|
||||||
/// Enable verbose output.
|
/// Enable verbose output.
|
||||||
|
Reference in New Issue
Block a user