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, header,
children: [ children: [
TextElement({ BdApi.React.createElement(TextElement, {
color: TextElement.Colors.PRIMARY, color: TextElement.Colors.PRIMARY,
children: [`${content} Please click Download Now to install it.`] children: [`${content} Please click Download Now to install it.`]
}) })

View File

@ -41,16 +41,16 @@ var BetterUnavailableGuilds = (() => {
twitter_username: '' 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.', description: 'Makes unavailable guilds (servers) still show in the list, and be able to drag it around.',
github: 'https://github.com/1Lighty', github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/BetterUnavailableGuilds/BetterUnavailableGuilds.plugin.js' github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/BetterUnavailableGuilds/BetterUnavailableGuilds.plugin.js'
}, },
changelog: [ changelog: [
{ {
title: 'ED is bad', title: 'sad',
type: 'added', 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: [ defaultConfig: [
@ -435,7 +435,7 @@ var BetterUnavailableGuilds = (() => {
Object.assign( Object.assign(
{ {
header, 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, red: false,
confirmText: 'Download Now', confirmText: 'Download Now',
cancelText: 'Cancel', cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [BetterUnavailableGuilds](https://1lighty.github.io/BetterDiscordStuff/?plugin=BetterUnavailableGuilds "BetterUnavailableGuilds") Changelog # [BetterUnavailableGuilds](https://1lighty.github.io/BetterDiscordStuff/?plugin=BetterUnavailableGuilds "BetterUnavailableGuilds") Changelog
### 0.2.3
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 0.2.2 ### 0.2.2
- Fixed plugin not working AT ALL in ED - Fixed plugin not working AT ALL in ED
- Fixed a specific error where plugin loaded, but you are not logged in yet - 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 # [CrashRecovery](https://1lighty.github.io/BetterDiscordStuff/?plugin=CrashRecovery "CrashRecovery") Changelog
### 0.1.3
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 0.1.2 ### 0.1.2
- Fixed crash screen being blank if a plugin failed to stop properly. - 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. - Now closes all modals, including the special types that are not stored inside ModalStack.

View File

@ -41,16 +41,16 @@ var CrashRecovery = (() => {
twitter_username: '' 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.', 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: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/CrashRecovery/CrashRecovery.plugin.js' github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/CrashRecovery/CrashRecovery.plugin.js'
}, },
changelog: [ changelog: [
{ {
title: 'fixed', title: 'sad',
type: 'fixed', 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( Object.assign(
{ {
header, 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, red: false,
confirmText: 'Download Now', confirmText: 'Download Now',
cancelText: 'Cancel', cancelText: 'Cancel',

View File

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

View File

@ -41,16 +41,16 @@ var MentionAliasesRedux = (() => {
twitter_username: '' 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.', 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: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js' github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js'
}, },
changelog: [ changelog: [
{ {
title: 'fixed', title: 'sad',
type: 'fixed', 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: [ defaultConfig: [
@ -1175,7 +1175,7 @@ var MentionAliasesRedux = (() => {
Object.assign( Object.assign(
{ {
header, 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, red: false,
confirmText: 'Download Now', confirmText: 'Download Now',
cancelText: 'Cancel', cancelText: 'Cancel',

View File

@ -1,4 +1,7 @@
# [SaveToRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=SaveToRedux "SaveToRedux") Changelog # [SaveToRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=SaveToRedux "SaveToRedux") Changelog
### 2.0.8
- Fixed crash if XenoLib or ZeresPluginLib were missing
### 2.0.7 ### 2.0.7
- Fixed "Disable this warning and save this option" not saving the option when a file was conflicting - 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 - 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: '' 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.', 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: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/SaveToRedux/SaveToRedux.plugin.js' github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/SaveToRedux/SaveToRedux.plugin.js'
}, },
changelog: [ changelog: [
{ {
title: 'Fixed', title: 'sad',
type: 'fixed', 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: [ defaultConfig: [
@ -930,7 +930,7 @@ var SaveToRedux = (() => {
Object.assign( Object.assign(
{ {
header, 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, red: false,
confirmText: 'Download Now', confirmText: 'Download Now',
cancelText: 'Cancel', cancelText: 'Cancel',

View File

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

View File

@ -41,16 +41,16 @@ var UnreadBadgesRedux = (() => {
twitter_username: '' twitter_username: ''
} }
], ],
version: '1.0.0', version: '1.0.1',
description: 'Adds a number badge to server icons and channels.', description: 'Adds a number badge to server icons and channels.',
github: 'https://github.com/1Lighty', github: 'https://github.com/1Lighty',
github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/UnreadBadgesRedux/UnreadBadgesRedux.plugin.js' github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/UnreadBadgesRedux/UnreadBadgesRedux.plugin.js'
}, },
changelog: [ changelog: [
{ {
title: 'Redux has been released!', title: 'sad',
type: 'added', type: 'fixed',
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.'] items: ['Fixed crash if XenoLib or ZeresPluginLib were missing']
} }
], ],
defaultConfig: [ defaultConfig: [
@ -561,7 +561,7 @@ var UnreadBadgesRedux = (() => {
Object.assign( Object.assign(
{ {
header, 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, red: false,
confirmText: 'Download Now', confirmText: 'Download Now',
cancelText: 'Cancel', cancelText: 'Cancel',