File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
- .\node_modules\.bin\electron-packager . " GoogleTasksDesktop" --platform=win32 --arch=x64 --version=1.4.1 --out=./build --overwrite --icon=./src/images/shortcut.ico --win32metadata.ProductName=" GoogleTasks Desktop" --win32metadata.CompanyName=" Wixiweb" --app-copyright=" Wixiweb" --asar
1
+ .\node_modules\.bin\electron-packager . " GoogleTasksDesktop" --platform=win32 --arch=x64 --version=1.4.6 --out=./build --overwrite --icon=./src/images/shortcut.ico --win32metadata.ProductName=" GoogleTasks Desktop" --win32metadata.CompanyName=" Wixiweb" --app-copyright=" Wixiweb" --asar
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " googletasks-desktop" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"description" : " A desktop app for Google Tasks, using Electron like container" ,
5
5
"main" : " src/main.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ const shell = electron.shell;
20
20
// Keep a global reference of the window object, if you don't, the window will
21
21
// be closed automatically when the JavaScript object is garbage collected.
22
22
let mainWindow ;
23
+ let appIcon ;
23
24
24
25
function createWindow ( ) {
25
26
@@ -43,7 +44,7 @@ function createWindow() {
43
44
// and load the index.html of the app.
44
45
mainWindow . loadURL ( `file://${ __dirname } /views/index.html` ) ;
45
46
46
- const appIcon = new Tray ( path . join ( __dirname , 'images' , 'trayicon.png' ) ) ;
47
+ appIcon = new Tray ( path . join ( __dirname , 'images' , 'trayicon.png' ) ) ;
47
48
appIcon . setToolTip ( 'GoogleTasks Desktop by Wixiweb' ) ;
48
49
appIcon . on ( 'click' , function ( ) {
49
50
if ( mainWindow . isVisible ( ) ) {
You can’t perform that action at this time.
0 commit comments