"cross-platform support" smh use windows

This commit is contained in:
Zack Rauen 2020-03-27 23:12:11 -04:00
parent caf3406e0a
commit 2d0ab3b1a3
3 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -22,10 +22,10 @@ Core.prototype.setConfig = function(config) {
};
Core.prototype.init = async function() {
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.");
return;
}
// 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.");
// return;
// }
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>");
@ -103,7 +103,7 @@ Core.prototype.init = async function() {
const previousVersion = DataStore.getBDData("version");
if (bbdVersion > previousVersion) {
if (bbdChangelog) this.showChangelogModal(bbdChangelog);
// DataStore.setBDData("version", bbdVersion);
DataStore.setBDData("version", bbdVersion);
}
Utils.suppressErrors(this.patchSocial.bind(this), "BD Social Patch")();