mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-05 10:13:00 +02:00
fix exe
This commit is contained in:
@@ -196,6 +196,11 @@ impl Settings {
|
||||
name.clone(),
|
||||
),
|
||||
};
|
||||
let binary_name = if cfg!(windows) {
|
||||
format!("{}.{}", &binary_name, "exe")
|
||||
} else {
|
||||
binary_name
|
||||
};
|
||||
let binary_path = target_dir.join(&binary_name);
|
||||
Ok(Settings {
|
||||
package,
|
||||
|
||||
Reference in New Issue
Block a user