ソースを参照

use x86 and x64 for wix.

tensor-programming 5 年 前
コミット
2fe764913a

+ 1 - 1
.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

+ 2 - 2
cli/tauri-bundler/src/bundle/wix.rs

@@ -170,8 +170,8 @@ fn download_and_verify(url: &str, hash: &str) -> crate::Result<Vec<u8>> {
 
 fn app_installer_dir(settings: &Settings) -> crate::Result<PathBuf> {
   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: {}",