Update version and changelog
This commit is contained in:
parent
06bdfe301b
commit
9d7264be96
31
CHANGELOG.md
31
CHANGELOG.md
|
@ -2,6 +2,37 @@
|
||||||
|
|
||||||
This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz.
|
This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz.
|
||||||
|
|
||||||
|
## 1.8.3
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Checking for old installs and deleting them
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- All references to Emotes, this will become a separate plugin
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Moved to the more permissive Apache 2.0 license
|
||||||
|
- Now check for discord.asar for electron17+
|
||||||
|
- Handle setting module exports internally rather than maintaining getter references
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed `inject` for electron17+
|
||||||
|
- Updater checking `>` which does not work for open versions
|
||||||
|
- Fixed a startup bug with the context menu api
|
||||||
|
|
||||||
|
## 1.8.2
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed modals not working
|
||||||
|
- Fixed downloading binary files
|
||||||
|
- Fixed public server invites
|
||||||
|
|
||||||
## 1.8.1
|
## 1.8.1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -2,6 +2,15 @@ import {app} from "electron";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
|
|
||||||
|
// Detect old install and delete it
|
||||||
|
const appPath = app.getAppPath(); // Should point to app or app.asar
|
||||||
|
const oldInstall = path.resolve(appPath, "..", "app");
|
||||||
|
if (fs.existsSync(oldInstall)) {
|
||||||
|
fs.rmdirSync(oldInstall, {recursive: true});
|
||||||
|
app.quit();
|
||||||
|
app.relaunch();
|
||||||
|
}
|
||||||
|
|
||||||
import ipc from "./modules/ipc";
|
import ipc from "./modules/ipc";
|
||||||
import BrowserWindow from "./modules/browserwindow";
|
import BrowserWindow from "./modules/browserwindow";
|
||||||
import CSP from "./modules/csp";
|
import CSP from "./modules/csp";
|
||||||
|
@ -18,7 +27,12 @@ if (!process.argv.includes("--vanilla")) {
|
||||||
|
|
||||||
|
|
||||||
// Remove CSP immediately on linux since they install to discord_desktop_core still
|
// Remove CSP immediately on linux since they install to discord_desktop_core still
|
||||||
CSP.remove();
|
try {
|
||||||
|
CSP.remove();
|
||||||
|
}
|
||||||
|
catch (_) {
|
||||||
|
// Remove when everyone is moved to core
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enable DevTools on Stable.
|
// Enable DevTools on Stable.
|
||||||
|
@ -36,14 +50,7 @@ try {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (_) {
|
catch (_) {
|
||||||
// Detect old install and delete it
|
// Remove when everyone is moved to core
|
||||||
const appPath = app.getAppPath(); // Should point to app or app.asar
|
|
||||||
const oldInstall = path.resolve(appPath, "..", "app");
|
|
||||||
if (fs.existsSync(oldInstall)) {
|
|
||||||
fs.rmdirSync(oldInstall, {recursive: true});
|
|
||||||
app.quit();
|
|
||||||
app.relaunch();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Needs to run this after Discord but before ready()
|
// Needs to run this after Discord but before ready()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "betterdiscord",
|
"name": "betterdiscord",
|
||||||
"version": "1.8.2",
|
"version": "1.8.3",
|
||||||
"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": {
|
||||||
|
|
|
@ -2,15 +2,21 @@
|
||||||
export default {
|
export default {
|
||||||
description: "Just some smaller fixes while we work on some big things in the background.",
|
description: "Just some smaller fixes while we work on some big things in the background.",
|
||||||
changes: [
|
changes: [
|
||||||
|
{
|
||||||
|
title: "What's New?",
|
||||||
|
type: "",
|
||||||
|
items: [
|
||||||
|
"Twitch emotes are no longer a part of BetterDiscord, we are opting to move them to a plugin. Stay tuned for when that will be completed!",
|
||||||
|
"We changed the way patching is handled internally hoping it'll help with memory leaks.",
|
||||||
|
"Everything should be working again for Canary and PTB with the latest updates!",
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "Bug Fixes",
|
title: "Bug Fixes",
|
||||||
type: "fixed",
|
type: "fixed",
|
||||||
items: [
|
items: [
|
||||||
"Fixed _even more_ issues with the built-in updater.",
|
"Fixed the way the update compares version numbers.",
|
||||||
"Fixed not being able to click support server links in plugin/theme pages.",
|
"Fixed the startup bug."
|
||||||
"Fixed some issues with not being able to join public servers.",
|
|
||||||
"Fixed plugin settings not being able to be displayed.",
|
|
||||||
"Fixed changelog modal not being able to be displayed."
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -20,7 +20,8 @@ const discordPath = (function() {
|
||||||
resourcePath = path.join(basedir, version, "modules", coreWrap, "discord_desktop_core");
|
resourcePath = path.join(basedir, version, "modules", coreWrap, "discord_desktop_core");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const userData = process.env.XDG_CONFIG_HOME ? process.env.XDG_CONFIG_HOME : path.join(process.env.HOME, ".config");
|
let userData = process.env.XDG_CONFIG_HOME ? process.env.XDG_CONFIG_HOME : path.join(process.env.HOME, ".config");
|
||||||
|
if (process.platform === "darwin") userData = path.join(process.env.HOME, "Library", "Application Support");
|
||||||
const basedir = path.join(userData, release.toLowerCase().replace(" ", ""));
|
const basedir = path.join(userData, release.toLowerCase().replace(" ", ""));
|
||||||
if (!fs.existsSync(basedir)) return "";
|
if (!fs.existsSync(basedir)) return "";
|
||||||
const version = fs.readdirSync(basedir).filter(f => fs.lstatSync(path.join(basedir, f)).isDirectory() && f.split(".").length > 1).sort().reverse()[0];
|
const version = fs.readdirSync(basedir).filter(f => fs.lstatSync(path.join(basedir, f)).isDirectory() && f.split(".").length > 1).sort().reverse()[0];
|
||||||
|
|
Loading…
Reference in New Issue