Skip to content

Commit 6cf5f10

Browse files
committed
v0.6.0 release
1 parent 5b1fcfa commit 6cf5f10

File tree

5 files changed

+15
-86
lines changed

5 files changed

+15
-86
lines changed

electron-builder.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ win:
2121
- target: 'nsis'
2222
arch:
2323
- x64
24-
# - ia32
25-
# - target: 'portable'
26-
# arch:
27-
# - x64
28-
# - ia32
29-
# - target: 'zip'
30-
# arch:
31-
# - x64
32-
# - ia32
24+
- ia32
25+
- target: 'portable'
26+
arch:
27+
- x64
28+
- ia32
29+
- target: 'zip'
30+
arch:
31+
- x64
32+
- ia32
3333
publish: ['github']
3434

3535
# Config for the windows installer

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtop",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "DevTop - Essential Tools for Developers",
55
"main": "app.js",
66
"author": "Zonayed Ahmed",

src/controller/CheckForUpdate.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/controller/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
const { checkForUpdate, showDialog } = require('./checkForUpdate');
21
const { autoLaunch } = require('./autoLaunch');
32

43
module.exports = {
5-
checkForUpdate,
6-
showDialog,
74
autoLaunch,
85
};

src/module/ApplicationTray.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const { app, Tray, Menu, MenuItem, dialog } = require('electron');
1+
const { app, Tray, Menu, MenuItem } = require('electron');
22

33
const { getPosition } = require('../utils');
4-
const { checkForUpdate, showDialog, autoLaunch } = require('../controller');
4+
const { autoLaunch } = require('../controller');
55

66
class ApplicationTray extends Tray {
77
constructor(iconPath, mainWindow) {
@@ -12,11 +12,6 @@ class ApplicationTray extends Tray {
1212
this.setToolTip('DevTop');
1313
this.autoStart = false;
1414
this.setAutoStart();
15-
this.onUpdate();
16-
}
17-
18-
onUpdate() {
19-
checkForUpdate();
2015
}
2116

2217
setAutoStart() {
@@ -86,7 +81,9 @@ class ApplicationTray extends Tray {
8681
new MenuItem({
8782
label: 'Check for Updates',
8883
type: 'checkbox',
89-
click: () => showDialog(),
84+
click: () => {
85+
console.log('Update check will be implemented here...');
86+
},
9087
})
9188
);
9289
menu.append(new MenuItem({ type: 'separator' }));

0 commit comments

Comments
 (0)