slackbuilds_ponce/development/electron/README.Slackware
DhabyX 0a4b66236d development/electron: Added (cross-platform building library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-02-18 07:54:07 +07:00

23 lines
699 B
Text

If you need build binary applications with electron, you can use
zip version installed with this package. Remember to use INSTALL_ZIP
feature.
If you use npm electron-build for this task you need add something
like this to your package.json project:
"devDependencies": {
"electron-builder": "ELECTRON-BUILDER-VERSION",
"electron": "ELECTRON-ZIP-VERSION"
},
"build": {
...
"electronDownload": {
"cache": "/usr/share/electron/release"
}
...
}
Note:
With this changes you only can package binary apps for your architecture.
If you want built for other architectures you can use a temporal directory for
your cache in electronDownload section, and then you can copy this zip into it.