Closed DuBistKomisch closed 7 years ago
If a user's going to root around in your app, they're going to eventually find every dependency anyway, since all of the production dependencies are bundled.
@anulman perhaps with #129, you can default to putting all of the forge config into a separate JS file and then ignore said file in the Electron Packager config.
@DuBistKomisch—upstream work in Forge (thanks @malept @MarshallOfSound) will land this automatically with #129
I noticed this addon just copies your ember app's
package.json
into the packaged app. From what I understand, electron only needsname
,version
andmain
, so shouldn'tember-electron
construct a newpackage.json
with just those three fields copied from the main one?Currently it leaks all sorts of stuff, most importantly signing settings for windows and mac, and every dependency, and basically just a bunch of things you wouldn't want your users to see.
The only current way around this I found is to create a separate
electron/package.json
, but it has to be manually copied into the build directory sincecopy-files
always preserves the relative path.