diff --git a/package.json b/package.json index a4829186..274e6839 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.9.7", + "version": "1.9.8", "description": "Enhances Discord by adding functionality and themes.", "main": "src/index.js", "scripts": { diff --git a/preload/src/api/electron.js b/preload/src/api/electron.js index 246535f9..f8c91558 100644 --- a/preload/src/api/electron.js +++ b/preload/src/api/electron.js @@ -3,7 +3,6 @@ import {ipcRenderer as IPC, shell} from "electron"; export const ipcRenderer = { send: IPC.send.bind(IPC), sendToHost: IPC.sendToHost.bind(IPC), - sendTo: IPC.sendTo.bind(IPC), sendSync: IPC.sendSync.bind(IPC), invoke: IPC.invoke.bind(IPC), on: IPC.on.bind(IPC), diff --git a/renderer/src/data/changelog.js b/renderer/src/data/changelog.js index 7d8489d6..bb6ce368 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,16 +1,13 @@ // fixed, improved, added, progress export default { - description: "This is a small but very important update to fix some key issues!", + description: "There is a big update coming soon, but we needed these important fixes in place first!", changes: [ { title: "What's Fixed?", type: "fixed", items: [ - "Spanish (LATAM) is now properly supported.", - "Future cases of unrecognized locales as well as locale fallback now works as intended and shouldn't cause loading issues.", - "Updated translations for Vietnamese locale.", - "Fixed an issue where certain actions (such as favoriting GIFs) caused unexpected lag.", - "Fixed some issues with general client lag." + "BetterDiscord is now be working on Canary and PTB once again!", + "Core version numbers will now be handled correctly in the updater; this is very important for future updates." ] } ] diff --git a/renderer/src/modules/updater.js b/renderer/src/modules/updater.js index acecf287..79a9d5ff 100644 --- a/renderer/src/modules/updater.js +++ b/renderer/src/modules/updater.js @@ -87,7 +87,7 @@ export class CoreUpdater { const data = await resp.json(); this.apiData = data; const remoteVersion = data.tag_name.startsWith("v") ? data.tag_name.slice(1) : data.tag_name; - this.hasUpdate = remoteVersion > Config.version; + this.hasUpdate = semverComparator(Config.version, remoteVersion) > 0; this.remoteVersion = remoteVersion; if (!this.hasUpdate || !showNotice) return;