Skip to content

Commit

Permalink
v1.0.5-pre.2 - Further work on investigating mac issue.
Browse files Browse the repository at this point in the history
Upgraded xcode image to v10.
Added proper handler for auto-update errors.
Upgraded dependencies.
  • Loading branch information
dscalzi committed Nov 1, 2018
1 parent b7f03fa commit eb946d6
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
matrix:
include:
- os: osx
osx_image: xcode9.4
osx_image: xcode10
language: node_js
node_js: "10"
env:
Expand Down
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ function initAutoUpdater(event, data) {
})
autoUpdater.on('checking-for-update', () => {
event.sender.send('autoUpdateNotification', 'checking-for-update')
})
})
autoUpdater.on('error', () => {
event.sender.send('autoUpdateNotification', 'realerror', err)
})
}

// Open channel to listen for update actions.
Expand Down
94 changes: 47 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "westeroscraftlauncher",
"version": "1.0.5-pre.1",
"version": "1.0.5-pre.2",
"description": "Custom modded launcher for Westeroscraft",
"productName": "WesterosCraft Launcher",
"main": "index.js",
Expand Down Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"electron": "^3.0.7",
"electron-builder": "^20.31.0",
"electron-builder": "^20.31.1",
"eslint": "^5.8.0"
},
"build": {
Expand Down Expand Up @@ -78,10 +78,8 @@
"uninstallerIcon": "build/icon.ico"
},
"mac": {
"target": "default",
"category": "public.app-category.games",
"icon": "build/icon.icns",
"type": "distribution"
"icon": "build/icon.icns"
},
"linux": {
"target": "AppImage",
Expand Down

0 comments on commit eb946d6

Please sign in to comment.