Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Fix auto-update condition and bump build version to 25.12.26; update app version to 2.15.0

Nayam Amarshef7f53ae5e592
diff --git a/electron/main-window.ts b/electron/main-window.ts
index 24e4826..176b3ac 100644
--- a/electron/main-window.ts
+++ b/electron/main-window.ts
@@ -57,7 +57,11 @@ const createMainWindow = () => {
mainWindow.webContents
.executeJavaScript('localStorage.getItem("autoUpdate");', true)
.then((lastSaved: string | null) => {
- if (lastSaved !== null && lastSaved === "true") {
+ if (
+ lastSaved === null ||
+ lastSaved === undefined ||
+ lastSaved === "true"
+ ) {
autoUpdater.checkForUpdates();
} else {
console.log("πŸš€ Auto Update is disabled");
diff --git a/mas.json b/mas.json
index 3fdb7d5..4be0b0c 100644
--- a/mas.json
+++ b/mas.json
@@ -2,7 +2,7 @@
"productName": "Upscayl",
"appId": "org.upscayl.Upscayl",
"afterSign": "./notarize.js",
- "buildVersion": "25.12.25",
+ "buildVersion": "25.12.26",
"asar": true,
"asarUnpack": ["**/node_modules/sharp/**/*", "**/node_modules/@img/**/*"],
"extraFiles": [
diff --git a/package.json b/package.json
index a451669..f339a85 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "upscayl",
"private": true,
- "version": "2.15.1",
+ "version": "2.15.0",
"productName": "Upscayl",
"author": {
"name": "Nayam Amarshe",