Skip to content

Commit 02b4869

Browse files
committed
update electron
1 parent 0276793 commit 02b4869

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
runtime = electron
2-
target = 1.8.4
2+
target = 4.2.12
33
target_arch = x64
44
disturl = https://atom.io/download/electron

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: objective-c
22
env:
3-
- NODE_VERSION="8.9"
3+
- NODE_VERSION="12.13"
44
before_install:
55
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
66
- source /tmp/.nvm/nvm.sh

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<script>
1414
// disable zoom
1515
let webFrame = require('electron').webFrame
16-
webFrame.setZoomLevelLimits(1, 1)
16+
webFrame.setVisualZoomLevelLimits(1, 1)
1717

1818
// run app
1919
require("./src/App.js")

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"start": "electron .",
88
"lint": "standard",
9-
"pack:osx": "electron-packager . \"Memgame\" --platform=darwin --arch=x64 --electron-version=1.8.4 --out=\"dist\" --overwrite && cd dist/Memgame-darwin-x64/Memgame.app/Contents/Resources/app && npm install --production",
10-
"pack:win": "electron-packager . \"Memgame\" --platform=win32 --arch=x64 --electron-version=1.8.4 --out=\"dist\" --overwrite & cd dist/Memgame-win32-x64/resources/app & npm install --production"
9+
"pack:osx": "electron-packager . \"Memgame\" --platform=darwin --arch=x64 --electron-version=4.2.12 --out=\"dist\" --overwrite && cd dist/Memgame-darwin-x64/Memgame.app/Contents/Resources/app && npm install --production",
10+
"pack:win": "electron-packager . \"Memgame\" --platform=win32 --arch=x64 --electron-version=4.2.12 --out=\"dist\" --overwrite & cd dist/Memgame-win32-x64/resources/app & npm install --production"
1111
},
1212
"repository": "https://github.com/aidatorajiro/memgame",
1313
"keywords": [
@@ -20,13 +20,13 @@
2020
"author": "Torajiro Aida",
2121
"license": "MIT",
2222
"devDependencies": {
23-
"electron": "1.8.4",
24-
"electron-packager": "^12.1.0",
25-
"standard": "^11.0.1"
23+
"electron": "4.2.12",
24+
"electron-packager": "^14.2.1",
25+
"standard": "^14.3.1"
2626
},
2727
"dependencies": {
28-
"ffi": "^2.2.0",
29-
"three": "^0.88.0"
28+
"ffi": "^2.3.0",
29+
"three": "^0.113.2"
3030
},
3131
"standard": {
3232
"globals": [

0 commit comments

Comments
 (0)