Dump linux files in `generated_linux`

This commit is contained in:
Albert24GG 2024-03-07 12:37:56 +02:00
parent cfb038485f
commit 92d790091c
2 changed files with 7 additions and 1 deletions

View File

@ -78,3 +78,9 @@ pub const OFFSETS_CONF: &str = "config.json";
#[cfg(target_os = "linux")]
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";

View File

@ -57,7 +57,7 @@ struct Args {
/// Output directory for generated files.
/// Defaults to `generated`.
#[arg(long, default_value = "generated")]
#[arg(long, default_value = config::DEFAULT_OUT_DIR)]
output: String,
/// Enable verbose output.