From 6fd275f063d0d5fa7d6c0b88a408a05ad09b951b Mon Sep 17 00:00:00 2001 From: Goh Jia Hao Date: Fri, 13 May 2016 12:51:05 +0800 Subject: [PATCH] Update default electron version to v1.0.2 --- app/package.json | 2 +- src/options/optionsMain.js | 2 +- webpack.config.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/package.json b/app/package.json index d625928..623af3e 100644 --- a/app/package.json +++ b/app/package.json @@ -4,7 +4,7 @@ "description": "Placeholder for the nativefier cli to override with a target url", "main": "lib/main.js", "dependencies": { - "electron-window-state": "^2.0.0", + "electron-window-state": "^3.0.3", "source-map-support": "^0.4.0", "wurl": "^2.1.0" }, diff --git a/src/options/optionsMain.js b/src/options/optionsMain.js index b31e1fd..a1da989 100644 --- a/src/options/optionsMain.js +++ b/src/options/optionsMain.js @@ -14,7 +14,7 @@ import packageJson from './../../package.json'; const {inferPlatform, inferArch} = inferOs; const PLACEHOLDER_APP_DIR = path.join(__dirname, '../../', 'app'); -const ELECTRON_VERSION = '0.37.2'; +const ELECTRON_VERSION = '1.0.2'; const DEFAULT_APP_NAME = 'APP'; diff --git a/webpack.config.js b/webpack.config.js index 2642b01..1455365 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,8 +2,8 @@ var electronPublicApi = [ 'electron', // for modules which use deprecated api // modules are taken from https://github.com/atom/electron/tree/master/docs/api - 'app', - 'screen' + // 'app', + // 'screen' // Uncomment as needed if some external module uses the deprecated api