Build Electron App For Mac

  1. Electron Mac App Store

Aug 10, 2015  platform decides for which platforms to build (all to build for Windows, Mac and Linux), architecture decides for which architectures to build (x86 or x64, all for both) and electron version lets. Aug 07, 2018  Used a basic Electron template to put web application in place of the template code. Kept the main.js etc files mostly the same (save for changing icons, tooltips, etc). When I go to the console and use npm run dist -win -mac despite having package.json with build.mac key value pairs, it still builds the windows version only. How To Compile An Electron Application To A.exe duplicate Ask Question Asked 2 years, 11 months ago. Active 12 months ago. Viewed 44k times 29. This question already has an answer here: How to deploy an Electron app as an executable or installable in Windows? Nov 04, 2019  Electron Apps Rejected From the Mac App Store. David.dev (via Ben Sandofsky, Hacker News, Slashdot): Allright, as a follow up to the previous chapter in this odyssey I can now state that, apparently, you cannot submit an electron 6 or 7 app to the.

Mac App Store Submission Guide. Since v0.34.0, Electron allows submitting packaged apps to the Mac App Store (MAS). This guide provides information on: how to submit your app and the limitations of the MAS build. Note: Submitting an app to Mac App Store requires enrolling in the Apple Developer Program, which costs money. Jan 13, 2017  How to package and distribute Electron apps. Such as JavaScript,HTML and CSS.Thanks to Electron,if you are a web developer you can use your existing skills to build develop desktop applications for major operating systems Linux,Windows and MAC. Electron is built and maintained by GitHub.For a more technical definition Electron is a. Building my Electron app for Windows and Linux using the electron-builder is no rocket science either. In theory they should also run on MacOS. I don't have neither Mac nor Linux computer and this project has been built completely on Windows. This way you can build the app and then rent the machine just for the time you need to test it.

Creating a Custom Release with surf-build

  1. Install Surf, via npm:npm install -g surf-build@latest

  2. Create a new S3 bucket and create the following empty directory structure:

  3. Set the following Environment Variables:

  • ELECTRON_GITHUB_TOKEN - a token that can create releases on GitHub
  • ELECTRON_S3_ACCESS_KEY, ELECTRON_S3_BUCKET, ELECTRON_S3_SECRET_KEY -the place where you'll upload Node.js headers as well as symbols
  • ELECTRON_RELEASE - Set to true and the upload part will run, leave unsetand surf-build will do CI-type checks, appropriate to run for everypull request.
  • CI - Set to true or else it will fail
  • GITHUB_TOKEN - set it to the same as ELECTRON_GITHUB_TOKEN
  • SURF_TEMP - set to C:Temp on Windows to prevent path too long issues
  • TARGET_ARCH - set to ia32 or x64
Build Electron App For Mac
  1. In script/upload.py, you must set ELECTRON_REPO to your fork (MYORG/electron),especially if you are a contributor to Electron proper.

  2. surf-build -r https://github.com/MYORG/electron -s YOUR_COMMIT -n 'surf-PLATFORM-ARCH'

  3. Wait a very, very long time for the build to complete.

To get started with Electron, check out the resources below. Learn how to wrap your web app with Electron, access all the APIs, and generate installers.

Explore the Electron APIs

Build Electron App For Mac

The Electron API Demos app interactively demonstrates the most important features of the Electron API. See what's possible with Electron with sample code and helpful tips for building your app.

Try more powerful experiments with Electron Fiddle

Electron Fiddle lets you create and play with small Electron experiments. It greets you with a quick-start template after opening – change a few things, choose the version of Electron you want to run it with, and play around. Then, save your Fiddle either as a GitHub Gist or to a local folder. Once pushed to GitHub, anyone can quickly try your Fiddle out by just entering it in the address bar.

Spin up the Quick Start app to see Electron in action:

A minimal Electron app with helpful notations.

Or dive deeper and read the documentation.

Need Help?

Electron Mac App Store

Ask questions in the Discuss forum or our Slack channel. Follow @electronjs on Twitter for important announcements. Need to privately reach out? Email info@electronjs.org.