Skip to content

Commit f6992e9

Browse files
committed
1.0.3
1 parent 612a1c6 commit f6992e9

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

app/birdex.asar

0 Bytes
Binary file not shown.

app/main.js

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
const electron = require('electron');
33
const app = electron.app; // Module to control application life.
44

5+
require('electron-debug')({
6+
showDevTools: false
7+
});
8+
59
const handleSetupEvent = function() {
610
if (process.argv.length === 1) {
711
return false;
@@ -83,25 +87,12 @@ updater.check((err, status) => {
8387
updater.download();
8488
}
8589
});
86-
// When an update has been downloaded
87-
updater.on('update-downloaded', (info) => {
88-
// Restart the app and install the update
89-
downloadedUpdate = true;
90-
});
91-
9290

9391
// Quit when all windows are closed.
9492
app.on('window-all-closed', function() {
95-
if (downloadedUpdate) {
96-
updater.install();
97-
} else {
98-
app.quit();
99-
}
93+
app.quit();
10094
});
10195

102-
require('electron-debug')({
103-
showDevTools: false
104-
});
10596

10697
let mainWindow;
10798
// This method will be called when Electron has finished

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.2",
2+
"version": "1.0.3",
33
"dependencies": {
44
"grunt": "^0.4.5",
55
"grunt-contrib-clean": "^0.7.0",

0 commit comments

Comments
 (0)