feat(updater): add support to riscv64 architecture (#2541)

Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.

ref https://github.com/tauri-apps/tauri/pull/12602/
pull/2542/head
Lucas Fernandes Nogueira 3 months ago committed by GitHub
parent a15eedf378
commit 12c4537b8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,6 @@
---
"updater": patch
"updater-js": patch
---
Add support to the `riscv64` architecture.

@ -1223,6 +1223,8 @@ pub(crate) fn get_updater_arch() -> Option<&'static str> {
Some("armv7")
} else if cfg!(target_arch = "aarch64") {
Some("aarch64")
} else if cfg!(target_arch = "riscv64") {
Some("riscv64")
} else {
None
}

Loading…
Cancel
Save