mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 17:48:35 -07:00
ENH: GUI: rename win_arm64 to windows_arm
jira: no-jira Change-Id: I01eeb96efb06ec779f1338d1207f7f6641c2bc58 (cherry picked from commit bbf32fd6f7ffbf543c28882ff3801108942fb399)
This commit is contained in:
parent
320cd87f0b
commit
c0ba405a64
2 changed files with 3 additions and 3 deletions
|
|
@ -2065,7 +2065,7 @@ std::map<std::string, std::string> GUI_App::get_extra_header()
|
|||
#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"));
|
||||
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "windows_arm"));
|
||||
#endif
|
||||
#elif defined(__APPLE__)
|
||||
extra_headers.insert(std::make_pair("X-BBL-OS-Type", "macos"));
|
||||
|
|
|
|||
|
|
@ -947,10 +947,10 @@ void PresetUpdater::priv::sync_plugins(std::string http_url, std::string plugin_
|
|||
if (GUI::wxGetApp().is_running_on_arm64()) {
|
||||
//set to arm64 for plugins
|
||||
std::map<std::string, std::string> current_headers = Slic3r::Http::get_extra_headers();
|
||||
current_headers["X-BBL-OS-Type"] = "win_arm64";
|
||||
current_headers["X-BBL-OS-Type"] = "windows_arm";
|
||||
|
||||
Slic3r::Http::set_extra_headers(current_headers);
|
||||
BOOST_LOG_TRIVIAL(info) << boost::format("set X-BBL-OS-Type to win_arm64");
|
||||
BOOST_LOG_TRIVIAL(info) << boost::format("set X-BBL-OS-Type to windows_arm");
|
||||
}
|
||||
#endif
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue