README.Slackware 699 B

123456789101112131415161718192021222324
  1. If you need build binary applications with electron, you can use
  2. zip version installed with this package. Remember to use INSTALL_ZIP
  3. feature.
  4. If you use npm electron-build for this task you need add something
  5. like this to your package.json project:
  6. "devDependencies": {
  7. "electron-builder": "ELECTRON-BUILDER-VERSION",
  8. "electron": "ELECTRON-ZIP-VERSION"
  9. },
  10. "build": {
  11. ...
  12. "electronDownload": {
  13. "cache": "/usr/share/electron/release"
  14. }
  15. ...
  16. }
  17. Note:
  18. With this changes you only can package binary apps for your architecture.
  19. If you want built for other architectures you can use a temporal directory for
  20. your cache in electronDownload section, and then you can copy this zip into it.