From 4ad2374e32692d2372b6c0b156393228fd93cd28 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Mon, 30 Dec 2024 17:01:35 -0700 Subject: [PATCH] ui: Fix update org, add Windows arch tag to update --- ui/xui/update.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/xui/update.cc b/ui/xui/update.cc index 8f075215bd..b29000fda2 100644 --- a/ui/xui/update.cc +++ b/ui/xui/update.cc @@ -27,9 +27,15 @@ #if defined(_WIN32) const char *version_host = "raw.githubusercontent.com"; -const char *version_uri = "/mborgerson/xemu/ppa-snapshot/XEMU_VERSION"; +const char *version_uri = "/xemu-project/xemu/ppa-snapshot/XEMU_VERSION"; const char *download_host = "github.com"; -const char *download_uri = "/mborgerson/xemu/releases/latest/download/xemu-win-release.zip"; +#if defined(__x86_64__) +const char *download_uri = "/xemu-project/xemu/releases/latest/download/xemu-win-x86_64-release.zip"; +#elif defined(__aarch64__) +const char *download_uri = "/xemu-project/xemu/releases/latest/download/xemu-win-aarch64-release.zip"; +#else +#error Unknown update path +#endif #else FIXME #endif