Important hotfix before the big update
This commit is contained in:
parent
1dc24222ca
commit
df3ebad0bb
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "betterdiscord",
|
"name": "betterdiscord",
|
||||||
"version": "1.9.7",
|
"version": "1.9.8",
|
||||||
"description": "Enhances Discord by adding functionality and themes.",
|
"description": "Enhances Discord by adding functionality and themes.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -3,7 +3,6 @@ import {ipcRenderer as IPC, shell} from "electron";
|
||||||
export const ipcRenderer = {
|
export const ipcRenderer = {
|
||||||
send: IPC.send.bind(IPC),
|
send: IPC.send.bind(IPC),
|
||||||
sendToHost: IPC.sendToHost.bind(IPC),
|
sendToHost: IPC.sendToHost.bind(IPC),
|
||||||
sendTo: IPC.sendTo.bind(IPC),
|
|
||||||
sendSync: IPC.sendSync.bind(IPC),
|
sendSync: IPC.sendSync.bind(IPC),
|
||||||
invoke: IPC.invoke.bind(IPC),
|
invoke: IPC.invoke.bind(IPC),
|
||||||
on: IPC.on.bind(IPC),
|
on: IPC.on.bind(IPC),
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
// fixed, improved, added, progress
|
// fixed, improved, added, progress
|
||||||
export default {
|
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: [
|
changes: [
|
||||||
{
|
{
|
||||||
title: "What's Fixed?",
|
title: "What's Fixed?",
|
||||||
type: "fixed",
|
type: "fixed",
|
||||||
items: [
|
items: [
|
||||||
"Spanish (LATAM) is now properly supported.",
|
"BetterDiscord is now be working on Canary and PTB once again!",
|
||||||
"Future cases of unrecognized locales as well as locale fallback now works as intended and shouldn't cause loading issues.",
|
"Core version numbers will now be handled correctly in the updater; this is very important for future updates."
|
||||||
"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."
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -87,7 +87,7 @@ export class CoreUpdater {
|
||||||
const data = await resp.json();
|
const data = await resp.json();
|
||||||
this.apiData = data;
|
this.apiData = data;
|
||||||
const remoteVersion = data.tag_name.startsWith("v") ? data.tag_name.slice(1) : data.tag_name;
|
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;
|
this.remoteVersion = remoteVersion;
|
||||||
if (!this.hasUpdate || !showNotice) return;
|
if (!this.hasUpdate || !showNotice) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue