Skip to content

Explicitly configure ad-hoc codesigning after electron-builder changes#9444

Merged
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:macos-ad-hoc-cs
Jul 17, 2026
Merged

Explicitly configure ad-hoc codesigning after electron-builder changes#9444
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:macos-ad-hoc-cs

Conversation

@absidue

@absidue absidue commented Jul 17, 2026

Copy link
Copy Markdown
Member

Pull Request Type

  • Bugfix

Related issue

Description

For a while electron-builder was ad-hoc signing by default when no code signing identity was provided but in version 26.15.0 (PR: electron-userland/electron-builder#9822) they stopped doing that and made it an opt-in thing. Without the ad-hoc codesigning macOS refuses to launch saying that the app is broken, with the ad-hoc code signing it still refuses to launch by default but it only complains about not being able to verify the signature which is a lot less alarming to users and easier to bypass (checking boxes in settings GUIs instead of having to remove the quarantine attribute with a command).

The difference in the dialogs that macOS shows can be seen here: electron-userland/electron-builder#9007

Testing

Test build here: https://github.com/absidue/FreeTube/actions/runs/29598510452

As I don't have a macOS machine I haven't been able to test it myself but looking at the code changes on the electron-builder side, this should be enough to get us back to how it was before.

Desktop

  • OS: Windows
  • OS Version: 11

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 17, 2026
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) July 17, 2026 17:09
@FreeTubeApp FreeTubeApp deleted a comment from coygeek Jul 17, 2026

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with macOS 15.7.7

@FreeTubeBot
FreeTubeBot merged commit da8e47c into FreeTubeApp:development Jul 17, 2026
6 checks passed
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 17, 2026
@absidue
absidue deleted the macos-ad-hoc-cs branch July 17, 2026 23:44
@Shadorc Shadorc mentioned this pull request Jul 19, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants