summaryrefslogtreecommitdiff
path: root/development/electron/README.Slackware
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-02-13 22:32:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-18 07:54:07 +0700
commit0a4b66236dcde6424372e8fa0013be6bed8f8d6d (patch)
tree426ebd1c0ffacc84bdd51cb7351a73c5aabfe399 /development/electron/README.Slackware
parente04fc426326563b531296a97a4a444248558c46c (diff)
downloadslackbuilds-0a4b66236dcde6424372e8fa0013be6bed8f8d6d.tar.gz
development/electron: Added (cross-platform building library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/electron/README.Slackware')
-rw-r--r--development/electron/README.Slackware23
1 files changed, 23 insertions, 0 deletions
diff --git a/development/electron/README.Slackware b/development/electron/README.Slackware
new file mode 100644
index 0000000000..eb454e74c3
--- /dev/null
+++ b/development/electron/README.Slackware
@@ -0,0 +1,23 @@
+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.