Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Fix windows autoupdater (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham authored Mar 6, 2018
1 parent 593d1c8 commit 65c35b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions app/main/menus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { app, shell } from 'electron';
import { app, shell, dialog } from 'electron';
import { createNewSessionWindow } from './appium';
import { checkNewUpdates } from './auto-updater';

Expand Down Expand Up @@ -163,7 +163,10 @@ function otherMenuFile (mainWindow) {
}, {
label: '&About Appium',
click () {
checkNewUpdates(true);
dialog.showMessageBox({
title: 'Appium Desktop',
message: `Version ${app.getVersion()}`,
});
}
}, {
type: 'separator'
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appium-desktop",
"version": "1.3.10",
"version": "1.4.0",
"description": "Graphical interface for the Appium server, and an app inspector",
"repository": {
"type": "git",
Expand Down Expand Up @@ -75,9 +75,8 @@
"package.json"
],
"win": {
"target": [
"nsis"
]
"target": "squirrel",
"icon": "build/icon.ico"
},
"linux": {
"target": [
Expand Down Expand Up @@ -159,6 +158,7 @@
"dir-compare": "^1.4.0",
"electron": "1.7.11",
"electron-builder": "^19.53.4",
"electron-builder-squirrel-windows": "^20.3.1",
"electron-devtools-installer": "^2.2.3",
"eslint": "3.x",
"eslint-config-appium": "1.x",
Expand Down

0 comments on commit 65c35b8

Please sign in to comment.