Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Electron Publishing and Deployment

Electron Publishing and Deployment

After an Electron app is developed and packaged, it needs to be released to users. The publishing methods are mainly divided into App stores and Independent distribution, and update services and version management strategies also need to be considered.


App store publishing

Microsoft Store publishing

Process:

  1. Generate an MSIX package
  2. Upload in the Store Partner Center
  3. Fill in app information, screenshots, and category
  4. Submit for review

Mac App Store publishing

Process:

  1. Package and sign the app
  2. Upload using Xcode or Transporter
  3. Submit app information and screenshots
  4. Go live after passing review

Snap Store publishing (Linux)

Packaging requirements: use Snapcraft to package the app as .snap format.

Process:

  1. Write snapcraft.yaml Configure
  2. Package and generate .snap
  3. Upload to the Snapcraft Store
  4. Publish after passing review

Review preparation


Independent distribution

Official website download

GitHub Releases

CDN distribution


Building an update service

Use third-party services

- GitHub Releases + electron-updater - AWS S3 + CloudFront - Netlify / Vercel static hosting

Self-hosted update server

Example latest.yml File:

version: 1.0.2

files:

  - url: MyElectronApp-1.0.2.exe

    sha512: "文件哈希值"

releaseDate: "2025-10-15T00:00:00Z"

Version management strategy

- Minor version: fix bugs - Major version: add new features or UI changes - Check for updates on startup - Periodically poll for updates - Manually triggered by the user

Summary

Core workflow of Electron publishing and deployment:

Through reasonable release and update strategies, you can ensure users get the latest, stable, and secure app versions, while improving user experience and app maintenance efficiency.