"cross-platform support" smh use windows
This commit is contained in:
parent
caf3406e0a
commit
2d0ab3b1a3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -22,10 +22,10 @@ Core.prototype.setConfig = function(config) {
|
||||||
};
|
};
|
||||||
|
|
||||||
Core.prototype.init = async function() {
|
Core.prototype.init = async function() {
|
||||||
if (currentDiscordVersion < minimumDiscordVersion) {
|
// if (currentDiscordVersion < minimumDiscordVersion) {
|
||||||
Utils.alert("Not Supported", "BetterDiscord v" + bbdVersion + " does not support this old version (" + currentDiscordVersion + ") of Discord. Please update your Discord installation before proceeding.");
|
// Utils.alert("Not Supported", "BetterDiscord v" + bbdVersion + " does not support this old version (" + currentDiscordVersion + ") of Discord. Please update your Discord installation before proceeding.");
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (bdConfig.version < minSupportedVersion) {
|
if (bdConfig.version < minSupportedVersion) {
|
||||||
Utils.alert("Not Supported", "BetterDiscord v" + bdConfig.version + " (your version)" + " is not supported by the latest js (" + bbdVersion + ").<br><br> Please download the latest version from <a href='https://github.com/rauenzi/BetterDiscordApp/releases/latest' target='_blank'>GitHub</a>");
|
Utils.alert("Not Supported", "BetterDiscord v" + bdConfig.version + " (your version)" + " is not supported by the latest js (" + bbdVersion + ").<br><br> Please download the latest version from <a href='https://github.com/rauenzi/BetterDiscordApp/releases/latest' target='_blank'>GitHub</a>");
|
||||||
|
@ -103,7 +103,7 @@ Core.prototype.init = async function() {
|
||||||
const previousVersion = DataStore.getBDData("version");
|
const previousVersion = DataStore.getBDData("version");
|
||||||
if (bbdVersion > previousVersion) {
|
if (bbdVersion > previousVersion) {
|
||||||
if (bbdChangelog) this.showChangelogModal(bbdChangelog);
|
if (bbdChangelog) this.showChangelogModal(bbdChangelog);
|
||||||
// DataStore.setBDData("version", bbdVersion);
|
DataStore.setBDData("version", bbdVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
Utils.suppressErrors(this.patchSocial.bind(this), "BD Social Patch")();
|
Utils.suppressErrors(this.patchSocial.bind(this), "BD Social Patch")();
|
||||||
|
|
Loading…
Reference in New Issue