Revamp OrcaSlicer updater #2058

Closed
opened 2026-04-05 23:03:43 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @SoftFever on 9/27/2025

Description

Revamps the application updater flow to call https://check-version.orcaslicer.com/latest instead of calling github directly

Tests


Note

Moves updater from GitHub to check-version.orcaslicer.com with signed, parameterized requests; adds persistent instance ID and wires build-time signature key across CI/build/CMake.

  • Updater:
    • Replace GitHub release polling with https://check-version.orcaslicer.com/latest via AppConfig::version_check_url().
    • Add query params (iid, v, os, arch, os_info) and optional HMAC-SHA256 signature headers (X-Orca-Ts, X-Orca-Sig).
    • Implement persistent instance ID (Utils/InstanceID.*) and generated config for build-time key (GeneratedConfig.hpp).
    • Refactor version parsing/selection in GUI_App::check_new_version_sf() and improve OS/arch detection.
  • Build/CI/CMake:
    • Pass ORCA_UPDATER_SIG_KEY from GitHub Actions to platform build scripts; plumb to CMake (-DORCA_UPDATER_SIG_KEY).
    • Generate GeneratedConfig.hpp; include in targets and add new sources; trim/normalize key.
    • Link updates: Windows Advapi32, macOS Security framework, Linux libsecret; add PkgConfig usage.
  • API Changes:
    • AppConfig::version_check_url() now single-source (no stable_only param) and uses new service URL.
  • Docs:
    • Add AGENTS.md with repository guidelines.

Written by Cursor Bugbot for commit 8a2ff32b9e. This will update automatically on new commits. Configure here.

*Originally created by @SoftFever on 9/27/2025* # Description Revamps the application updater flow to call https://check-version.orcaslicer.com/latest instead of calling github directly ## Tests <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Moves updater from GitHub to check-version.orcaslicer.com with signed, parameterized requests; adds persistent instance ID and wires build-time signature key across CI/build/CMake. > > - **Updater**: > - Replace GitHub release polling with `https://check-version.orcaslicer.com/latest` via `AppConfig::version_check_url()`. > - Add query params (`iid`, `v`, `os`, `arch`, `os_info`) and optional HMAC-SHA256 signature headers (`X-Orca-Ts`, `X-Orca-Sig`). > - Implement persistent instance ID (`Utils/InstanceID.*`) and generated config for build-time key (`GeneratedConfig.hpp`). > - Refactor version parsing/selection in `GUI_App::check_new_version_sf()` and improve OS/arch detection. > - **Build/CI/CMake**: > - Pass `ORCA_UPDATER_SIG_KEY` from GitHub Actions to platform build scripts; plumb to CMake (`-DORCA_UPDATER_SIG_KEY`). > - Generate `GeneratedConfig.hpp`; include in targets and add new sources; trim/normalize key. > - Link updates: Windows `Advapi32`, macOS `Security` framework, Linux `libsecret`; add `PkgConfig` usage. > - **API Changes**: > - `AppConfig::version_check_url()` now single-source (no `stable_only` param) and uses new service URL. > - **Docs**: > - Add `AGENTS.md` with repository guidelines. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8a2ff32b9e35926332afa34ad5d52eac87cdb83b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#2058