Updates for packaging.
This commit is contained in:
@@ -6,6 +6,7 @@ import icon from "../../resources/icon.png?asset";
|
||||
import ErrorTypeCheck from "../util/errorTypeCheck";
|
||||
import client from "./graphql/graphql-client";
|
||||
import store from "./store/store";
|
||||
import { autoUpdater } from "electron-updater";
|
||||
|
||||
log.initialize();
|
||||
const isMac = process.platform === "darwin";
|
||||
@@ -247,6 +248,11 @@ app.whenReady().then(async () => {
|
||||
});
|
||||
}
|
||||
|
||||
//Check for app updates.
|
||||
|
||||
autoUpdater.logger = log;
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
|
||||
createWindow();
|
||||
|
||||
app.on("activate", function () {
|
||||
|
||||
Reference in New Issue
Block a user