|
@@ -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> {
|
|
fn app_installer_dir(settings: &Settings) -> crate::Result<PathBuf> {
|
|
let arch = match settings.binary_arch() {
|
|
let arch = match settings.binary_arch() {
|
|
- "x86" => "i386",
|
|
|
|
- "x86_64" => "amd64",
|
|
|
|
|
|
+ "x86" => "x86",
|
|
|
|
+ "x86_64" => "x64",
|
|
target => {
|
|
target => {
|
|
return Err(crate::Error::from(format!(
|
|
return Err(crate::Error::from(format!(
|
|
"Unsupported architecture: {}",
|
|
"Unsupported architecture: {}",
|