Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit f44ee65

Browse files
committed
Add readme explanation about --asar flag
1 parent 3c847ee commit f44ee65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ The following list of tools was used and configured in this boilerplate:
1818
- Webpack 3
1919
- Electron-packager (basic configuration)
2020

21+
2122
## Build an application
2223
- Set the name of your application in the `package.json` as `productName`.
2324
- Run `npm run package`
2425
Feel free to edit the `postpackage` command to include more options or flags for `electron-packager` to match your needs
2526

27+
By default, `--asar` flag is used with `electron-packager`, meaning that after you build your app, you will not be able to check the content of it, because it will be archived and the source code will be hidden. To be able to see the content, remove the `--asar` flag from the `postpackage` command.
28+
2629
## Dev hot-reload mode
2730
`npm run dev`
2831

0 commit comments

Comments
 (0)