Permalink
Browse files

Initial electron 3 config

  • Loading branch information...
Thomas101 committed Sep 20, 2018
1 parent bb36383 commit 452c73ade8eb392a7ab2a609b9687f1d945137ce
Showing with 8 additions and 5 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 package.json
  3. +2 −0 scripts/installElectron.js
  4. +1 −1 src/app/package.json
  5. +1 −0 src/app/src/index.js
  6. +2 −2 webpack.config.js
@@ -1,7 +1,7 @@
sudo: required
dist: trusty
language: node_js
node_js: "8.9.3"
node_js: "10.2.0"
before_install:
- npm i -g npm@6.2.0
install:
@@ -72,7 +72,7 @@
"colors": "1.3.2",
"copy-webpack-plugin": "4.5.2",
"css-loader": "1.0.0",
"electron": "2.0.9",
"electron": "3.0.0",
"electron-rebuild": "1.8.2",
"file-loader": "2.0.0",
"fs-extra": "7.0.0",
@@ -3,6 +3,8 @@ if (process.env.TRAVIS === 'true') {
process.exit(0)
}

process.exit(0) //TODO switch hosted

const { ROOT_DIR, PKG } = require('./constants')
const { sequencePromiseSpawn } = require('./Tools')
const Colors = require('colors/safe')
@@ -37,7 +37,7 @@
"yargs": "12.0.2"
},
"optionalDependencies": {
"node-mac-notifier": "0.1.0"
"node-mac-notifier": "1.1.0"
},
"devDependencies": {
"babel-eslint": "9.0.0",
@@ -6,6 +6,7 @@
if (AppUpdater.handleWin32SquirrelSwitches(app)) { return }

// Single app instance
//TODO depricated
const singleAppQuit = app.makeSingleInstance(function (commandLine, workingDirectory) {
const AppSingleInstance = require('./AppSingleInstance').default // Late require me
AppSingleInstance.processSingleInstanceArgs(commandLine, workingDirectory)
@@ -5,8 +5,8 @@ gracefulFs.gracefulify(fs)

module.exports = function (env = {}) {
// Config
process.env.CHROME_TARGET = 61
process.env.NODE_TARGET = '8.9.3'
process.env.CHROME_TARGET = 66
process.env.NODE_TARGET = '10.2.0'

const mode = new Set([
'production',

0 comments on commit 452c73a

Please sign in to comment.