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

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/6893930822

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
This commit is contained in:
Amr Bashir
2023-11-16 16:56:47 +00:00
committed by tauri-bot
parent c40a33377e
commit 45f2bfd690

View File

@@ -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