Conversation
|
Please note — if in the future some files will be added into the project, which should not be packed into the production app, files must be used to ignore it, because you don't use two-package project structure. |
|
I recommend use AppImage to distribute app for Linux, electron-builder will support AppImage target soon (I will open new PR). |
.gitignore
Outdated
| @@ -1 +1,3 @@ | |||
| node_modules | |||
| .idea/ | |||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
Current name in the So, And If you don't mind, I can fix it as a part of this pull request. |
Icons are not added, I don't have assets (please see step 3).
During test, I have discovered issue — NPE if no installed node.
And currently, packed app cannot find installed node on MacOS because
PATHis completely different for app (it is not the same as for CLI app). I will file issue about it. On Linux and Windows installed note detected correctly (yeah, MacOS :().npm run packwill create packed app for current platform and arch.npm run distwill pack app into distributable format for current platform and arch (e.g. DMG).npm run dist -- -l(after--any electron-builder args, here-lmeans build for Linux)