Skip to content

frontend: Turn off the Windows updater that installs upstream OBS (#1729) - #1733

Closed
zackees wants to merge 6 commits into
fix/macos-sparkle-upstream-feedfrom
fix/1729-windows-updater-off
Closed

zackees wants to merge 6 commits into
fix/macos-sparkle-upstream-feedfrom
fix/1729-windows-updater-off

Conversation

@zackees

@zackees zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member

Fixes #1729. Stacked on #1727 (base is its branch; retarget to master once #1727 merges).

Problem

AutoUpdateThread and updater.exe fetch upstream OBS Studio's signed manifests from obsproject.com, and frontend/cmake/os-windows.cmake built them unconditionally, so a Windows OBS-Studio-Rust build could offer, download and install upstream OBS over itself.

Design

  • New CMake option ENABLE_WIN_UPDATER (default OFF) in frontend/cmake/os-windows.cmake, mirroring macOS where Sparkle builds only with a configured feed and key. When on, it adds the AutoUpdateThread unity group, the updater subdirectory, and target_enable_feature(... ENABLE_WIN_UPDATER); when off, none of that is built.
  • Shared frontend code keys on the feature macro instead of _WIN32: OBSBasic_Updater (timed and manual checks), on_actionRepair_triggered, and OBS_PLATFORM_HAS_UPDATE_BRANCHES in utility/platform.hpp, which the settings dialog now uses for the update group/branch list (previously _WIN32 || ENABLE_SPARKLE_UPDATER).
  • OBSBasic removes Help > Check for Updates when neither updater is built, and Repair without the Windows updater; updateCheckFinished and the IsUpdaterDisabled path null-check the actions. Side effect: macOS without a Sparkle feed (now the default after build: Stop the macOS app from using upstream OBS Studio's update feed #1727) also drops the no-op Check for Updates item.
  • Net fewer host conditionals; ci/platform-ifdef-baseline.json lowered.

RED / GREEN

  • RED (761cffd): ci/test_no_upstream_updater.py gains test_windows_updater_is_off_while_it_points_at_upstream: while AutoUpdateThread/updater sources contain obsproject.com URLs, os-windows.cmake must declare option(ENABLE_WIN_UPDATER ... OFF), the updater subdirectory and AutoUpdateThread source must only appear under if(ENABLE_WIN_UPDATER), and every new AutoUpdateThread( must sit under an ENABLE_WIN_UPDATER guard. Fails on the build: Stop the macOS app from using upstream OBS Studio's update feed #1727 base (no option).
  • GREEN: the change above; test passes, ./lint passes.

Testing limits

No Windows build is possible locally; this relies on PR CI's Windows lanes selected by the Windows paths. The full Windows OBS app build does not run from PRs, only on master push / schedule.

… by default)

The Windows updater fetches upstream OBS Studio's signed manifests from
obsproject.com and can install upstream OBS over OBS-Studio-Rust. Until
obs-rust has its own signed feed (#1730) it is not built: no updater.exe,
no AutoUpdateThread, no update checks, and Help > Check for Updates /
Repair and the settings update group are removed, as on macOS without
Sparkle.

Fixes #1729
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Superseded by #1742. Per the maintainer's decision, the updaters stay on and offer only certified obs-rust releases (daily builds are pre-releases; a certify dispatch promotes one and attaches a signed feed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant