You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/01/29 06:36:57 UTC

[cordova-electron] branch master updated: Electron Build Improvements (#9)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-electron.git


The following commit(s) were added to refs/heads/master by this push:
     new 77c8ee5  Electron Build Improvements (#9)
77c8ee5 is described below

commit 77c8ee58578c87ebf5832b2bf9ebe74fde00e4ac
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Tue Jan 29 15:36:53 2019 +0900

    Electron Build Improvements (#9)
    
    * Remove `type` param from Linux base config
    * Updated and pinned Cordova supported Electron version to `4.0.1`
---
 bin/templates/cordova/lib/build/base.json  | 8 +++++---
 bin/templates/cordova/lib/build/linux.json | 1 -
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/bin/templates/cordova/lib/build/base.json b/bin/templates/cordova/lib/build/base.json
index 21688fc..27b671b 100644
--- a/bin/templates/cordova/lib/build/base.json
+++ b/bin/templates/cordova/lib/build/base.json
@@ -2,14 +2,16 @@
   "config": {
     "appId": "${APP_ID}",
     "productName": "${APP_TITLE}",
-    
+
     "directories": {
       "app": "${APP_WWW_DIR}",
       "output": "${APP_BUILD_DIR}"
     },
-    
+
+    "electronVersion": "4.0.1",
+
     "electronDownload": {
-      "version": "3.0.6"
+      "version": "4.0.1"
     }
   }
 }
diff --git a/bin/templates/cordova/lib/build/linux.json b/bin/templates/cordova/lib/build/linux.json
index 10a9456..0bdeb9e 100644
--- a/bin/templates/cordova/lib/build/linux.json
+++ b/bin/templates/cordova/lib/build/linux.json
@@ -2,7 +2,6 @@
   "linux": [],
   "config": {
     "linux": {
-      "type": "${BUILD_TYPE}",
       "maintainer": "${APP_AUTHOR}",
       "target": [
         {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org