Skip to content

Commit 73b1dc1

Browse files
committed
UI: Add architecture to auto-updater check
1 parent c1c2962 commit 73b1dc1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/gui/wxgui/CemuUpdateWindow.cpp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,22 @@ bool CemuUpdateWindow::QueryUpdateInfo(std::string& downloadUrlOut, std::string&
111111
auto* curl = curl_easy_init();
112112
urlStr.append(_curlUrlEscape(curl, BUILD_VERSION_STRING));
113113
#if BOOST_OS_LINUX
114-
urlStr.append("&platform=linux_appimage_x86");
114+
urlStr.append("&platform=linux_appimage");
115115
#elif BOOST_OS_WINDOWS
116116
urlStr.append("&platform=windows");
117117
#elif BOOST_OS_MACOS
118-
urlStr.append("&platform=macos_bundle_x86");
118+
urlStr.append("&platform=macos_bundle");
119119
#elif
120120
#error Name for current platform is missing
121121
#endif
122+
#if defined(__aarch64__)
123+
urlStr.append("_aarch64");
124+
#elif defined(ARCH_X86_64)
125+
urlStr.append("_x86_64");
126+
#else
127+
urlStr.append("_unknown");
128+
#endif
129+
122130
const auto& config = GetWxGUIConfig();
123131
if(config.receive_untested_updates)
124132
urlStr.append("&allowNewUpdates=1");

0 commit comments

Comments
 (0)