Fix: region error

This commit is contained in:
xiaoyeliu
2025-12-23 18:09:14 +08:00
parent d18b73cef2
commit 22c1753708
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ jobs:
if-no-files-found: error
- name: Deploy Flatpak to nightly release
if: ${{github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.2.1'}}
if: ${{github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.2.0'}}
uses: WebFreak001/deploy-nightly@v3.2.0
with:
upload_url: https://uploads.github.com/repos/Snapmaker/OrcaSlicer/releases/169912305/assets{?name,label}

View File

@@ -768,8 +768,8 @@ int WebPresetDialog::SaveProfile()
// } else
// m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", "0");
m_MainPtr->app_config->set("region", m_Region);
m_MainPtr->app_config->set_bool("stealth_mode", StealthMode);
// m_MainPtr->app_config->set("region", m_Region);
// m_MainPtr->app_config->set_bool("stealth_mode", StealthMode);
// finish
m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "finish", "1");