use x86 and x64 for wix.

This commit is contained in:
tensor-programming 2020-02-12 16:55:10 -05:00
parent dd40b44598
commit 2fe764913a
No known key found for this signature in database
GPG Key ID: EDAE3CB55FE4A0CF
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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: {}",