- Electron version: 0.35.6 and tried 0.35.6 too
- Operating system: 10.11.2
I have built an Electron application that calls loadURL() in main.js. From there, it's a remote website. Locally, it works great. I signed it with my developer cert and .app works great. However, when I productbuild the app to a package for Mac AppStore distribution I hit a problem.
I did significant searching before posting this - creating an issue is my last resort. The only thing I could find or think of is sandbox capability, but I failed to get it to work by enabling network.
I can successfully install the package:
sudo installer -store -pkg App.pkg -target /
I can open the app, but I get a new error.

It won't resolve any URL with error:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED http://github.com/
So as a local app, everything works. After signing the .app, it still works. But building into a distribution package, I get the error on loadURL()
I have built an Electron application that calls loadURL() in main.js. From there, it's a remote website. Locally, it works great. I signed it with my developer cert and .app works great. However, when I productbuild the app to a package for Mac AppStore distribution I hit a problem.
I did significant searching before posting this - creating an issue is my last resort. The only thing I could find or think of is sandbox capability, but I failed to get it to work by enabling network.
I can successfully install the package:
sudo installer -store -pkg App.pkg -target /I can open the app, but I get a new error.

It won't resolve any URL with error:
So as a local app, everything works. After signing the .app, it still works. But building into a distribution package, I get the error on loadURL()