From 5b85737740a8ffa2f5abd9ad39ff9d584ce1173e Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 18 Apr 2020 14:54:32 +0200 Subject: [PATCH 1/2] Add missing auto updater check --- src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.js b/src/main.js index 8b2a4aa..69fc574 100644 --- a/src/main.js +++ b/src/main.js @@ -5,6 +5,7 @@ import {app, BrowserWindow, ipcMain, Menu, shell, Tray} from "electron"; import Meta from "./Meta"; import Config from "./Config"; import Service from "./Service"; +import { autoUpdater } from "electron-updater"; const resourcesDir = path.resolve(__dirname, '../resources'); const iconPath = path.resolve(resourcesDir, 'logo.png'); @@ -36,6 +37,11 @@ function toggleMainWindow() { } function createWindow() { + // Check for updates on windows and mac + if (process.platform === 'win32' || process.platform === 'darwin') { + autoUpdater.checkForUpdatesAndNotify(); + } + // System tray console.log('Loading system Tray'); tray = new Tray(iconPath); From 93faaeb220f26b92d7d2798a899873d353090637 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 18 Apr 2020 15:01:55 +0200 Subject: [PATCH 2/2] Version 0.6.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d9179c1..e0b7fd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tabs", - "version": "0.6.2", + "version": "0.6.3", "description": "Persistent and separate browser tabs in one window.", "author": { "name": "Alice Gaudon",