Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Building Desktop Apps Out of Web Apps: Scaling ...

Building Desktop Apps Out of Web Apps: Scaling Electron With Code Signing & CI/CD

Electron bridges the web and desktop apps, enabling developers to turn web apps into cross-platform desktop experiences. But beyond the quick start lies a series of engineering challenges, from code signing headaches to CI/CD bottlenecks and security risks.

Avatar for Ayodele Aransiola

Ayodele Aransiola

October 16, 2025
Tweet

More Decks by Ayodele Aransiola

Other Decks in Programming

Transcript

  1. `The Common Story` You build an awesome app It’s wrapped

    with Electron (it works!). Distribution began. Apps can’t be opened
  2. The /Architecture’ Security in Electron isn’t an afterthought; that’s the

    difference between an app and an exploit. contextIsolation: true nodeIntegration: false Validate IPC messages
  3. leomofthings.com/blog ‘Engineering Challenges’ Signing Distribution Users seeing “Untrusted App” warnings

    and disallowing installation Building for multiple OSes reliably Automation Ensuring human error is reduced during realeases
  4. What ‘Scaling’ Really Means Trust Automation Security If you lack

    the trust, users won’t install. Just like trust reduces your app installation count, security also makes your app lose it’s credibility in the market If some processes are not automated, teams slow down. Time to market is affected.
  5. Apple’s chain of `Trust Developer ID Application Developer ID Installer

    Certificate needed for distributed apps (.dmg) Certificate needed for .pkg packages } } } } App Notarization Apple scans & validates your build.
  6. Handling EV `Token Problem: Cloud CIs can’t access USB tokens.

    Solution: Self-Hosted Runner → attach the token physically (on-prem) or Cloud Signing (DigiCert KeyLocker / SSL.com eSigner)
  7. Sample Workflow file The most important security benefit is that

    your actual private key was never downloaded, seen, or exposed to the CI runner. It just asked Azure to perform the signing operation on its behalf.
  8. CI/CD: one push = All builds Goals No manual signing

    Parallel builds for macOS & Windows Artifacts auto-uploaded leomofthings.com/blog
  9. The gold `Catch Store certs as base64 in repo secrets.

    CI triggers on tag push (v1.0.0). Build, sign, notarize, and upload—fully automated.