You can use -ignore to ignore files and folders Node_modules/.bin will be ignored by default. Prune: false API option or -no-prune CLI flag.) In addition, folders like. (This behavior can be turned off with the The devDependencies section of package.json, by default none of the modules related to thoseĭependencies will be copied in the app bundles. If not, check your settings and try again.īe careful not to include node_modules you don't want into your final app. You should be able to launch the app on the platform you built for. (e.g., /), will be replaced by hyphens ( -). If appname is omitted, this will use the name specified by "productName" or "name" in the nearest package.json.Ĭharacters in the Electron app name which are not allowed in all target platforms' filenames Platform, target arch, and Electron version (files named electron-v$ as an option to the Electron Packager API A zipped, minimal ElectronĪpplication is approximately the same size as the zipped prebuilt binary for a given target Note that packaged Electron applications can be relatively large. Internally), or one of the related Electron tools, which utilizesĮlectron Packager-created folders as a basis. Source code with a renamed Electron executable and supporting files into folders ready for distribution.įor creating distributables like installers and Linux packages, consider using either Electron exe, etc.) via JavaScript or the command line.Įlectron Packager is a command line tool and Node.js library that bundles Electron-based application Your Electron app into OS-specific bundles (.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |