chore: remove dead code from updater test (#731)

pull/742/head
Amr Bashir 2 years ago committed by GitHub
parent a3ca64275a
commit 5a8bbe2967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,21 +39,6 @@ struct Update {
platforms: HashMap<String, PlatformUpdate>,
}
fn get_cli_bin_path(cli_dir: &Path, debug: bool) -> Option<PathBuf> {
let mut cli_bin_path = cli_dir.join(format!(
"target/{}/cargo-tauri",
if debug { "debug" } else { "release" }
));
if cfg!(windows) {
cli_bin_path.set_extension("exe");
}
if cli_bin_path.exists() {
Some(cli_bin_path)
} else {
None
}
}
fn build_app(cwd: &Path, config: &Config, bundle_updater: bool, target: BundleTarget) {
let mut command = Command::new("cargo");
command

Loading…
Cancel
Save