initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
Packer
|
||||
https://github.com/nodegui/packer
|
||||
|
||||
To create executable file
|
||||
|
||||
- First step is to install the packer as a dev dependency. You can do so by:
|
||||
|
||||
`npm install --save-dev @nodegui/packer`
|
||||
|
||||
- Next you can run the init command:
|
||||
|
||||
`npx nodegui-packer --init MyApp`
|
||||
This will produce the deploy directory containing the template. You can modify this to suite your needs. Like add icons, change the name, description and add other native features or dependencies. Make sure you commit this directory.
|
||||
|
||||
- Next you can run the pack command:
|
||||
|
||||
`npx nodegui-packer --pack <path to dist>`
|
||||
This command essential takes the dist folder as the input and puts it in the suitable location inside the standalone executable. Also it runs the correct deployment tool (macdeployqt incase of mac, etc) and packs in the dependencies. The output of the command is found under the build directory. You should gitignore the build directory.
|
||||
|
||||
Loading…
Reference in a new issue