Menu

Post image 1
Post image 2
1 / 2
0

Automate the Boring Stuff: Electron macOS Signing & Notarization in One Git Push

DEV Community: tutorial·Louis Liu·about 4 hours ago
#zyX4yCHC
#dev#const#apple#fullscreen#notarize#article
Reading 0:00
15s threshold

Bringing your imagination to life through desktop apps has become easier with AI. As a web developer, I started creating desktop apps with Electron + TypeScript. Turning my ideas into real apps is much easier nowadays. However, sharing my app with others on macOS became a problem. There are two blockers: macOS has Gatekeeper, which prevents users from opening unsigned apps. This creates a bad user experience. How can I distribute my app to others? The first issue is easy to resolve: you just need some money. Simply join the Apple Developer Program. My answer to the second issue is to use electron-builder and GitHub Actions to build a CD pipeline. Let's see how I did it. First, let's get the Apple credentials in order. Prerequisites Before you start, you need an Apple Developer Program membership ( $99/year ). Without it, you cannot obtain a "Developer ID Application" certificate, and Apple's notarization service will reject your submissions.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More