mirror of https://github.com/tauri-apps/tauri
fix exe
This commit is contained in:
parent
55a2085f99
commit
6018de2f30
|
@ -196,6 +196,11 @@ impl Settings {
|
||||||
name.clone(),
|
name.clone(),
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
let binary_name = if cfg!(windows) {
|
||||||
|
format!("{}.{}", &binary_name, "exe")
|
||||||
|
} else {
|
||||||
|
binary_name
|
||||||
|
};
|
||||||
let binary_path = target_dir.join(&binary_name);
|
let binary_path = target_dir.join(&binary_name);
|
||||||
Ok(Settings {
|
Ok(Settings {
|
||||||
package,
|
package,
|
||||||
|
|
Loading…
Reference in New Issue