mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENH: gui: add win_arm64 support
jira: no-jira Change-Id: I43f66be1f264434a9bb26a9dd3fff1fb5c36d57c (cherry picked from commit 659f758e451d20d3a6c5505a2530be578dd584dd)
This commit is contained in:
@@ -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-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__)
|
||||||
|
|||||||
Reference in New Issue
Block a user