Fix startup crashes

This commit is contained in:
Lighty 2020-02-02 22:53:23 +01:00
parent 852a5edfad
commit 1b06d48390
11 changed files with 37 additions and 22 deletions

View File

@ -1422,7 +1422,7 @@ var XenoLib = (() => {
{
header,
children: [
TextElement({
BdApi.React.createElement(TextElement, {
color: TextElement.Colors.PRIMARY,
children: [`${content} Please click Download Now to install it.`]
})

View File

@ -41,16 +41,16 @@ var BetterUnavailableGuilds = (() => {
twitter_username: ''
}
],
version: '0.2.2',
version: '0.2.3',
description: 'Makes unavailable guilds (servers) still show in the list, and be able to drag it around.',
github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/BetterUnavailableGuilds/BetterUnavailableGuilds.plugin.js'
},
changelog: [
{
title: 'ED is bad',
title: 'sad',
type: 'added',
items: ['Fixed plugin not working AT ALL in ED', 'Fixed a specific error where plugin loaded, but you are not logged in yet']
items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
}
],
defaultConfig: [
@ -435,7 +435,7 @@ var BetterUnavailableGuilds = (() => {
Object.assign(
{
header,
children: [TextElement({ color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
children: [BdApi.React.createElement(TextElement, { color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
red: false,
confirmText: 'Download Now',
cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [BetterUnavailableGuilds](https://1lighty.github.io/BetterDiscordStuff/?plugin=BetterUnavailableGuilds "BetterUnavailableGuilds") Changelog
### 0.2.3
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 0.2.2
- Fixed plugin not working AT ALL in ED
- Fixed a specific error where plugin loaded, but you are not logged in yet

View File

@ -1,4 +1,7 @@
# [CrashRecovery](https://1lighty.github.io/BetterDiscordStuff/?plugin=CrashRecovery "CrashRecovery") Changelog
### 0.1.3
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 0.1.2
- Fixed crash screen being blank if a plugin failed to stop properly.
- Now closes all modals, including the special types that are not stored inside ModalStack.

View File

@ -41,16 +41,16 @@ var CrashRecovery = (() => {
twitter_username: ''
}
],
version: '0.1.2',
version: '0.1.3',
description: 'THIS IS AN EXPERIMENTAL PLUGIN! In the event that your Discord crashes, the plugin enables you to get Discord back to a working state, without needing to reload at all.',
github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/CrashRecovery/CrashRecovery.plugin.js'
},
changelog: [
{
title: 'fixed',
title: 'sad',
type: 'fixed',
items: ['Fixed crash screen being blank if a plugin failed to stop properly.', 'Now closes all modals, including the special types that are not stored inside ModalStack.']
items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
}
]
};
@ -351,7 +351,7 @@ var CrashRecovery = (() => {
Object.assign(
{
header,
children: [TextElement({ color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
children: [BdApi.React.createElement(TextElement, { color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
red: false,
confirmText: 'Download Now',
cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [MentionAliasesRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=MentionAliasesRedux "MentionAliasesRedux") Changelog
### 2.0.5
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 2.0.4
- Fixed tags in chat not showing but throwing an error instead in canary
- Fixed tags not showing in new friends list

View File

@ -41,16 +41,16 @@ var MentionAliasesRedux = (() => {
twitter_username: ''
}
],
version: '2.0.4',
version: '2.0.5',
description: 'Set custom @mention aliases, that can also appear next to their name (nearly) anywhere, as well as have mention groups to mention multiple people at once.',
github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js'
},
changelog: [
{
title: 'fixed',
title: 'sad',
type: 'fixed',
items: ['Fixed tags in chat not showing but throwing an error instead in canary', 'Fixed tags not showing in new friends list']
items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
}
],
defaultConfig: [
@ -1175,7 +1175,7 @@ var MentionAliasesRedux = (() => {
Object.assign(
{
header,
children: [TextElement({ color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
children: [BdApi.React.createElement(TextElement, { color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
red: false,
confirmText: 'Download Now',
cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [SaveToRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=SaveToRedux "SaveToRedux") Changelog
### 2.0.8
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 2.0.7
- Fixed "Disable this warning and save this option" not saving the option when a file was conflicting
- Corrected "Save As..." showing "Images" as file type even if it wasn't an image

View File

@ -41,16 +41,16 @@ var SaveToRedux = (() => {
twitter_username: ''
}
],
version: '2.0.7',
version: '2.0.8',
description: 'Allows you to save images, videos, profile icons, server icons, reactions, emotes and custom status emotes to any folder quickly.',
github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/SaveToRedux/SaveToRedux.plugin.js'
},
changelog: [
{
title: 'Fixed',
title: 'sad',
type: 'fixed',
items: ['Fixed "Disable this warning and save this option" not saving the option when a file was conflicting', 'Corrected "Save As..." showing "Images" as file type even if it wasn\'t an image', 'Added option to append server or DM recipients name to downloaded images/files. Also as a custom option named `name` (how creative)']
items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
}
],
defaultConfig: [
@ -930,7 +930,7 @@ var SaveToRedux = (() => {
Object.assign(
{
header,
children: [TextElement({ color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
children: [BdApi.React.createElement(TextElement, { color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
red: false,
confirmText: 'Download Now',
cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [UnreadBadgesRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=UnreadBadgesRedux "UnreadBadgesRedux") Changelog
### 1.0.1
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 1.0.0
- Initial release
- Redux has been released!

View File

@ -41,16 +41,16 @@ var UnreadBadgesRedux = (() => {
twitter_username: ''
}
],
version: '1.0.0',
version: '1.0.1',
description: 'Adds a number badge to server icons and channels.',
github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/UnreadBadgesRedux/UnreadBadgesRedux.plugin.js'
},
changelog: [
{
title: 'Redux has been released!',
type: 'added',
items: ["That is all. I don't think much else needs to be said here, does it? It Just Works(tm).", 'Oh yeah, I added a ton of options so have fun with that.']
title: 'sad',
type: 'fixed',
items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
}
],
defaultConfig: [
@ -561,7 +561,7 @@ var UnreadBadgesRedux = (() => {
Object.assign(
{
header,
children: [TextElement({ color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
children: [BdApi.React.createElement(TextElement, { color: TextElement.Colors.PRIMARY, children: [`${content} Please click Download Now to install ${(bothLibsMissing && 'them') || 'it'}.`] })],
red: false,
confirmText: 'Download Now',
cancelText: 'Cancel',