From 2efbf616df4fb8cd564e0d34a01097a53db9c3c1 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Fri, 6 Jan 2023 19:24:25 -0700 Subject: [PATCH] update.cc: Migrate update URLs to xemu.app domain --- ui/xui/update.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ui/xui/update.cc b/ui/xui/update.cc index 306ec7dfeb..3f03f5205c 100644 --- a/ui/xui/update.cc +++ b/ui/xui/update.cc @@ -26,10 +26,9 @@ #include "xemu-version.h" #if defined(_WIN32) -const char *version_host = "raw.githubusercontent.com"; -const char *version_uri = "/mborgerson/xemu/ppa-snapshot/XEMU_VERSION"; -const char *download_host = "github.com"; -const char *download_uri = "/mborgerson/xemu/releases/latest/download/xemu-win-release.zip"; +const char *download_host = "download.xemu.app"; +const char *version_uri = "/version"; +const char *download_uri = "/windows"; #else FIXME #endif @@ -148,7 +147,7 @@ void *Updater::checker_thread_worker_func(void *updater) void Updater::check_for_update_internal() { - httplib::SSLClient cli(version_host, 443); + httplib::SSLClient cli(download_host, 443); cli.set_follow_location(true); cli.set_timeout_sec(5); auto res = cli.Get(version_uri, [this](uint64_t len, uint64_t total) {