mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-29 16:36:01 -05:00
The helper accepted any trusted Authenticode signer on Windows and any Developer ID signature on macOS, so once an update installs without asking, nothing said whose build it was. The signer display name and the Apple team ID are compiled in now and come from the CI signing material: the Windows publisher is read from the certificate that signs the installer, so the two cannot drift. An empty value keeps the old behaviour with a warning, which is what a local build and an unsigned PR artifact want. installed_artifact was one value per user, so two copies of the application - a Program Files install and a per-user one, or two channels - overwrote each other's digest and each read the other's identity. It is keyed by a hash of the install root now, and a value recorded before the change moves to the running root on first start. finish_pending_update() only ran when the preset updater existed, so a G-code viewer start never restored a backup or consumed the install record. It runs from every start. The macOS helper mounted the image on a path named after its pid in world-writable /tmp, which another local user could create first. mkdtemp names it, inside the cache.