ENH: gui: add win_arm64 support

jira: no-jira
Change-Id: I43f66be1f264434a9bb26a9dd3fff1fb5c36d57c
This commit is contained in:
lane.wei 2025-03-20 14:55:43 +08:00
parent 78c0a845d2
commit 659f758e45

View File

@ -2422,7 +2422,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-Name", SLIC3R_APP_NAME));
extra_headers.insert(std::make_pair("X-BBL-Client-Version", VersionInfo::convert_full_version(SLIC3R_VERSION))); extra_headers.insert(std::make_pair("X-BBL-Client-Version", VersionInfo::convert_full_version(SLIC3R_VERSION)));
#if defined(__WINDOWS__) #if defined(__WINDOWS__)
#ifdef _M_X64
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "windows")); 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__) #elif defined(__APPLE__)
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "macos")); extra_headers.insert(std::make_pair("X-BBL-OS-Type", "macos"));
#elif defined(__LINUX__) #elif defined(__LINUX__)