mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-17 16:44:27 -04:00
[misc] revert to using the OS arch rather than app arch for the update download
* This means that someone running Rufus x64 or ARM64 should be proposed Rufus ARM64 rather than Rufus x64 as an upgrade. * Also switch the BETA channel from x86 to x64. * Also remove the _chdirU(app_dir) when using -i in commandline.
This commit is contained in:
parent
a354178239
commit
1e51385bed
7 changed files with 22 additions and 39 deletions
|
@ -950,7 +950,7 @@ void parse_update(char* buf, size_t len)
|
|||
}
|
||||
safe_free(data);
|
||||
}
|
||||
static_sprintf(download_url_name, "download_url_%s", GetAppArchName());
|
||||
static_sprintf(download_url_name, "download_url_%s", GetArchName(WindowsVersion.Arch));
|
||||
update.download_url = get_sanitized_token_data_buffer(download_url_name, 1, buf, len);
|
||||
if (update.download_url == NULL)
|
||||
update.download_url = get_sanitized_token_data_buffer("download_url", 1, buf, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue