Closed pewsheen closed 3 weeks ago
Should fix https://github.com/tauri-apps/tauri/issues/10031
In some cases, getTargetInfo returns arm64 as the arch.
getTargetInfo
arm64
arch
process.arch
arm64-xxx
RPM seems to officially use aarch64 instead of arm64, so we should also convert arm64 to aarch64.
aarch64
Haven't tested it yet..
Honestly would still prefer to have all bundles use the same format in the file name... But let's merge this either way so it works for them in the meantime but keep the tauri issue open for now.
Should fix https://github.com/tauri-apps/tauri/issues/10031
In some cases,
getTargetInfo
returnsarm64
as thearch
.process.arch
(NodeJS) will returnarm64
by defaultarm64-xxx
RPM seems to officially use
aarch64
instead ofarm64
, so we should also convertarm64
toaarch64
.Haven't tested it yet..