mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 00:33:13 +08:00
ENH: gui: add win_arm64 support
jira: no-jira Change-Id: I43f66be1f264434a9bb26a9dd3fff1fb5c36d57c
This commit is contained in:
parent
78c0a845d2
commit
659f758e45
@ -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__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user