diff --git a/changelog.md b/changelog.md index 66a9c98..a38f0da 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## Note + +**Due to some limitations, existing users (v2.11.5 and below) might need to manually update the app.** + ## Added - Automated release for windows and linux(debian). diff --git a/electron/updater.ts b/electron/updater.ts index 9183b34..a7c1e2e 100644 --- a/electron/updater.ts +++ b/electron/updater.ts @@ -183,7 +183,7 @@ const downloadUpdates = (latestVersion: string, windowId: number) => { if (process.platform === "win32") if (IS_PORTABLE) { - const dl = downloadLink + latestVersion + "/" + `Yomikiru-win32-${latestVersion}-Portable.zip`; + const dl = downloadLink + latestVersion + "/" + `Yomikiru-win32-v${latestVersion}-Portable.zip`; const extractPath = path.join(tempPath, "updates"); if (!fs.existsSync(extractPath)) fs.mkdirSync(extractPath); @@ -214,7 +214,7 @@ const downloadUpdates = (latestVersion: string, windowId: number) => { }); }); } else { - const dl = downloadLink + latestVersion + "/" + `Yomikiru-${latestVersion}-Setup.exe`; + const dl = downloadLink + latestVersion + "/" + `Yomikiru-v${latestVersion}-Setup.exe`; downloadFile(dl, newWindow.webContents, (file) => { logger.log(`${file.filename} downloaded.`); app.on("before-quit", () => { @@ -229,7 +229,7 @@ const downloadUpdates = (latestVersion: string, windowId: number) => { }); } else if (process.platform === "linux") { - const dl = downloadLink + latestVersion + "/" + `Yomikiru-${latestVersion}-amd64.deb`; + const dl = downloadLink + latestVersion + "/" + `Yomikiru-v${latestVersion}-amd64.deb`; downloadFile(dl, newWindow.webContents, (file) => { logger.log(`${file.filename} downloaded.`); const script = ` diff --git a/package.json b/package.json index 31c18de..57d56ec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yomikiru", "productName": "Yomikiru", - "version": "2.12.0", + "version": "2.12.1", "description": "App to read manga / comic / epub offline on desktop", "main": ".webpack/main", "author": {