ENH: gui: add win_arm64 support

jira: no-jira
Change-Id: I43f66be1f264434a9bb26a9dd3fff1fb5c36d57c
(cherry picked from commit 659f758e451d20d3a6c5505a2530be578dd584dd)
This commit is contained in:
lane.wei 2025-03-20 14:55:43 +08:00 committed by Noisyfox
parent 1f2b320b94
commit 7af9802688

View file

@ -2048,7 +2048,11 @@ std::map<std::string, std::string> GUI_App::get_extra_header()
extra_headers.insert(std::make_pair("X-BBL-Client-Name", SLIC3R_APP_NAME));
extra_headers.insert(std::make_pair("X-BBL-Client-Version", VersionInfo::convert_full_version(SLIC3R_VERSION)));
#if defined(__WINDOWS__)
#ifdef _M_X64
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "windows"));
#else
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "win_arm64"));
#endif
#elif defined(__APPLE__)
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "macos"));
#elif defined(__LINUX__)