From 2fe764913ad886746bc91c7c0488640705784ed1 Mon Sep 17 00:00:00 2001 From: tensor-programming Date: Wed, 12 Feb 2020 16:55:10 -0500 Subject: [PATCH] use x86 and x64 for wix. --- .github/workflows/smoke-tests-source.yml | 2 +- cli/tauri-bundler/src/bundle/wix.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/smoke-tests-source.yml b/.github/workflows/smoke-tests-source.yml index a04406dab..17e16c736 100644 --- a/.github/workflows/smoke-tests-source.yml +++ b/.github/workflows/smoke-tests-source.yml @@ -42,7 +42,7 @@ jobs: - platform: windows-latest CARGO_HOME: ~/.cargo releaseFolder: target/release - ext: .amd64.msi + ext: .x64.msi steps: - uses: actions/checkout@v2 diff --git a/cli/tauri-bundler/src/bundle/wix.rs b/cli/tauri-bundler/src/bundle/wix.rs index ea5df9161..4fd686c8a 100644 --- a/cli/tauri-bundler/src/bundle/wix.rs +++ b/cli/tauri-bundler/src/bundle/wix.rs @@ -170,8 +170,8 @@ fn download_and_verify(url: &str, hash: &str) -> crate::Result> { fn app_installer_dir(settings: &Settings) -> crate::Result { let arch = match settings.binary_arch() { - "x86" => "i386", - "x86_64" => "amd64", + "x86" => "x86", + "x86_64" => "x64", target => { return Err(crate::Error::from(format!( "Unsupported architecture: {}",