Updates for packaging.

This commit is contained in:
Patrick Fic
2025-03-24 08:28:11 -07:00
parent a814326aa3
commit 4462cefb54
3 changed files with 26 additions and 21 deletions

View File

@@ -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 () {