From ea7451bcdc7b2ed21c1dbac5e3c4f574df87f868 Mon Sep 17 00:00:00 2001
From: thororen <78185467+thororen1234@users.noreply.github.com>
Date: Wed, 17 Apr 2024 14:29:47 -0400
Subject: [PATCH] forked!!
---
.eslintrc.json | 168 +-
.github/ISSUE_TEMPLATE/blank.yml | 2 +-
.github/ISSUE_TEMPLATE/bug_report.yml | 8 +-
.github/ISSUE_TEMPLATE/config.yml | 12 +-
.github/workflows/build.yml | 121 +-
.github/workflows/codeberg-mirror.yml | 52 +-
.github/workflows/publish.yml | 45 -
.github/workflows/reportBrokenPlugins.yml | 97 +-
.github/workflows/test.yml | 96 +-
.vscode/settings.json | 3 +-
CONTRIBUTING.md | 2 +-
README.md | 98 +-
browser/VencordNativeStub.ts | 6 +-
browser/icon.png | Bin 1091 -> 7720 bytes
browser/manifest.json | 37 +-
browser/manifestv2.json | 35 +-
browser/monacoWin.html | 64 +-
docs/1_INSTALLING.md | 40 +-
docs/2_PLUGINS.md | 8 +-
package.json | 30 +-
patches/@types__less@3.0.6.patch | 13 +
patches/eslint-plugin-path-alias@1.0.0.patch | 13 -
pnpm-lock.yaml | 701 +--
scripts/build/build.mjs | 2 +-
scripts/build/common.mjs | 2 +-
scripts/generateReport.ts | 295 +-
scripts/runInstaller.mjs | 4 +-
src/Vencord.ts | 12 +-
src/VencordNative.ts | 5 +-
src/api/MessageEvents.ts | 2 +
src/api/Settings.ts | 14 +-
src/components/DonateButton.tsx | 2 +-
src/components/ExpandableHeader.css | 5 +-
src/components/Icons.tsx | 19 +
src/components/ThemeSettings/OnlineThemes.tsx | 258 +
src/components/ThemeSettings/ThemesTab.tsx | 431 ++
src/components/ThemeSettings/UserCSSModal.tsx | 114 +
.../components/SettingBooleanComponent.tsx | 39 +
.../components/SettingColorComponent.tsx | 56 +
.../components/SettingNumberComponent.tsx | 36 +
.../components/SettingRangeComponent.tsx | 56 +
.../components/SettingSelectComponent.tsx | 55 +
.../components/SettingTextComponent.tsx | 34 +
.../ThemeSettings/components/colorStyles.css | 19 +
.../ThemeSettings/components/index.ts | 12 +
src/components/ThemeSettings/themesStyles.css | 47 +
src/components/VencordSettings/AddonCard.tsx | 7 +-
.../VencordSettings/BackupAndRestoreTab.tsx | 2 +-
.../VencordSettings/PatchHelperTab.tsx | 12 +-
src/components/VencordSettings/ThemesTab.tsx | 356 --
src/components/VencordSettings/UpdaterTab.tsx | 6 +-
src/components/VencordSettings/VencordTab.tsx | 6 +-
src/components/VencordSettings/shared.tsx | 1 -
.../VencordSettings/themesStyles.css | 18 +
src/equicordplugins/VCSupport/index.ts | 14 +
src/equicordplugins/allCallTimers/Timer.tsx | 38 +
.../allCallTimers/TimerIcon.tsx | 26 +
src/equicordplugins/allCallTimers/index.tsx | 267 +
.../allCallTimers/timerText.tsx | 15 +
.../allowedMentions/AllowedMentions.css | 5 +
.../allowedMentions/AllowedMentions.tsx | 386 ++
src/equicordplugins/allowedMentions/index.tsx | 274 +
src/equicordplugins/altKrispSwitch/index.tsx | 33 +
src/equicordplugins/annamox/index.ts | 106 +
.../betterQuickReact/index.tsx | 84 +
.../betterQuickReact/style.css | 30 +
.../blockKrisp.discordDesktop/index.ts | 23 +
src/equicordplugins/bypassDND/index.tsx | 149 +
src/equicordplugins/cleanChannelName/index.ts | 31 +
src/equicordplugins/colorMessage/index.ts | 62 +
src/equicordplugins/colorMessage/style.css | 14 +
.../copyEmojiAsFormattedString/index.tsx | 78 +
src/equicordplugins/copyUserMention/index.tsx | 53 +
.../customAppIcons/AppIconModal.tsx | 104 +
src/equicordplugins/customAppIcons/index.tsx | 110 +
.../customScreenShare.desktop/goofs.tsx | 45 +
.../customScreenShare.desktop/index.tsx | 221 +
.../customScreenShare.desktop/utils.ts | 34 +
src/equicordplugins/deadMembers/index.tsx | 62 +
src/equicordplugins/doNotLeak/index.ts | 89 +
src/equicordplugins/doNotLeak/style.css | 50 +
.../doubleCounterVerifyBypass/index.tsx | 82 +
src/equicordplugins/emojiDumper/index.tsx | 68 +
src/equicordplugins/encryptcord/index.tsx | 457 ++
src/equicordplugins/encryptcord/rsa-utils.tsx | 121 +
src/equicordplugins/exportContacts/index.tsx | 127 +
src/equicordplugins/exportContacts/styles.css | 27 +
.../findReply/ReplyNavigator.tsx | 73 +
src/equicordplugins/findReply/index.tsx | 133 +
src/equicordplugins/findReply/styles.css | 8 +
.../gifCollections/CollectionManager.ts | 112 +
.../gifCollections/constants.ts | 21 +
src/equicordplugins/gifCollections/index.tsx | 365 ++
src/equicordplugins/gifCollections/types.ts | 44 +
.../gifCollections/utils/cleanUrl.ts | 23 +
.../gifCollections/utils/getFormat.ts | 27 +
.../gifCollections/utils/getGif.ts | 137 +
.../gifCollections/utils/getUrlExtension.ts | 23 +
.../gifCollections/utils/isAudio.ts | 27 +
.../gifCollections/utils/settingsUtils.ts | 131 +
.../gifCollections/utils/uuidv4.ts | 29 +
src/equicordplugins/globalBadges/index.tsx | 133 +
src/equicordplugins/hideMessage/EyeIcon.tsx | 14 +
src/equicordplugins/hideMessage/HideIcon.tsx | 14 +
.../hideMessage/HideMessageAccessory.tsx | 20 +
src/equicordplugins/hideMessage/index.tsx | 163 +
src/equicordplugins/hideMessage/styles.css | 21 +
src/equicordplugins/holyNotes/NoteHandler.ts | 213 +
.../holyNotes/components/icons/HelpIcon.tsx | 23 +
.../holyNotes/components/icons/NoteButton.tsx | 17 +
.../components/icons/overFlowIcon.tsx | 31 +
.../holyNotes/components/modals/Error.tsx | 51 +
.../holyNotes/components/modals/HelpModal.tsx | 89 +
.../modals/ManageNotebookButton.tsx | 28 +
.../components/modals/NoteBookTab.tsx | 185 +
.../holyNotes/components/modals/Notebook.tsx | 174 +
.../components/modals/NotebookCreateModal.tsx | 40 +
.../components/modals/NotebookDeleteModal.tsx | 57 +
.../components/modals/RenderMessage.tsx | 188 +
src/equicordplugins/holyNotes/index.tsx | 132 +
src/equicordplugins/holyNotes/style.css | 136 +
src/equicordplugins/holyNotes/types.ts | 47 +
src/equicordplugins/holyNotes/utils.ts | 106 +
src/equicordplugins/hopOn/index.tsx | 48 +
src/equicordplugins/iRememberYou/index.tsx | 403 ++
src/equicordplugins/ignoreTerms/index.ts | 29 +
src/equicordplugins/imageLink/index.ts | 24 +
src/equicordplugins/keyboardSounds/index.ts | 60 +
.../keyboardSounds/sounds/backspace.wav | Bin 0 -> 7778 bytes
.../keyboardSounds/sounds/click1.wav | Bin 0 -> 9086 bytes
.../keyboardSounds/sounds/click2.wav | Bin 0 -> 9086 bytes
.../keyboardSounds/sounds/click3.wav | Bin 0 -> 7970 bytes
src/equicordplugins/keywordNotify/index.tsx | 127 +
src/equicordplugins/keywordNotify/style.css | 9 +
src/equicordplugins/messageLatency/index.tsx | 147 +
.../messageLinkTooltip/index.tsx | 126 +
.../messageLinkTooltip/style.css | 4 +
.../LoggedMessageManager.ts | 268 +
.../components/LogsButton.tsx | 60 +
.../components/LogsModal.tsx | 492 ++
.../messageLoggerEnhanced/index.tsx | 756 +++
.../messageLoggerEnhanced/native/index.ts | 139 +
.../messageLoggerEnhanced/native/settings.ts | 49 +
.../messageLoggerEnhanced/native/utils.ts | 26 +
.../messageLoggerEnhanced/styles.css | 82 +
.../messageLoggerEnhanced/types.ts | 124 +
.../messageLoggerEnhanced/utils/LimitedMap.ts | 36 +
.../messageLoggerEnhanced/utils/cleanUp.ts | 116 +
.../messageLoggerEnhanced/utils/constants.ts | 19 +
.../utils/freedom/importMeToPreload.ts | 19 +
.../messageLoggerEnhanced/utils/index.ts | 184 +
.../messageLoggerEnhanced/utils/memoize.ts | 41 +
.../messageLoggerEnhanced/utils/misc.ts | 156 +
.../messageLoggerEnhanced/utils/parseQuery.ts | 101 +
.../utils/saveImage/ImageManager.ts | 80 +
.../utils/saveImage/index.ts | 115 +
.../utils/settingsUtils.ts | 51 +
src/equicordplugins/noModalAnimation/index.ts | 30 +
src/equicordplugins/noNitroUpsell/index.ts | 57 +
.../components/NotificationsOffIcon.tsx | 11 +
.../components/NotificationsOnIcon.tsx | 11 +
.../notifyUserChanges/index.tsx | 344 ++
.../onePingPerDM/README.md | 0
.../onePingPerDM/index.ts | 0
src/equicordplugins/platformSpoofer/index.ts | 53 +
src/equicordplugins/purgeMessages/index.ts | 93 +
.../questionMarkReplacement/index.tsx | 47 +
src/equicordplugins/quoter/index.tsx | 267 +
src/equicordplugins/replyPingControl/index.ts | 90 +
src/equicordplugins/replyTimestamp/index.tsx | 69 +
src/equicordplugins/replyTimestamp/style.css | 3 +
.../screenRecorder.vencordDesktop/index.tsx | 69 +
.../screenShareStreamerMode/index.ts | 66 +
src/equicordplugins/search/index.ts | 84 +
src/equicordplugins/searchFix/index.tsx | 46 +
.../sekaiStickers/Components/Canvas.tsx | 27 +
.../sekaiStickers/Components/Picker.tsx | 51 +
.../Components/SekaiStickersModal.tsx | 138 +
.../sekaiStickers/characters.json.ts | 5035 +++++++++++++++++
src/equicordplugins/sekaiStickers/index.tsx | 54 +
.../sekaiStickers/kanade.svg.tsx | 21 +
.../serverProfilesToolBox/index.tsx | 94 +
.../showBadgesInChat/index.tsx | 131 +
.../showBadgesInChat/settings.tsx | 166 +
.../showBadgesInChat/styles.css | 21 +
src/equicordplugins/slap/index.ts | 30 +
.../components/CloneSoundModal.tsx | 193 +
.../soundBoardLogger/components/Icons.tsx | 57 +
.../components/MoreUsersModal.tsx | 62 +
.../components/SoundBoardLog.tsx | 192 +
.../soundBoardLogger/components/UserModal.tsx | 104 +
.../soundBoardLogger/index.tsx | 67 +
.../soundBoardLogger/settings.tsx | 93 +
.../soundBoardLogger/store.tsx | 62 +
.../soundBoardLogger/styles.css | 125 +
src/equicordplugins/soundBoardLogger/utils.ts | 81 +
src/equicordplugins/title/index.ts | 50 +
.../unlimitedAccounts/index.ts | 35 +
src/equicordplugins/usrpfp/index.tsx | 70 +
src/equicordplugins/validReply/index.ts | 70 +
src/equicordplugins/vencordRPC/index.ts | 440 ++
src/equicordplugins/voiceChatUtils/index.tsx | 132 +
src/equicordplugins/voiceDownload/index.tsx | 53 +
src/equicordplugins/voiceDownload/style.css | 12 +
src/equicordplugins/whosWatching/index.tsx | 80 +
src/main/ipcMain.ts | 24 +-
src/main/monacoWin.html | 114 +-
src/main/patchWin32Updater.ts | 2 -
src/main/updater/http.ts | 30 +-
src/main/utils/extensions.ts | 9 +-
src/plugins/_api/badges.tsx | 22 +-
src/plugins/_api/chatButtons.ts | 6 +-
src/plugins/_api/messageEvents.ts | 6 +-
src/plugins/_core/settings.tsx | 8 +-
src/plugins/_core/supportHelper.tsx | 35 +-
src/plugins/betterRoleContext/README.md | 6 -
src/plugins/betterSettings/README.md | 9 -
src/plugins/callTimer/index.tsx | 26 +-
src/plugins/clearURLs/defaultRules.ts | 3 +
src/plugins/clientTheme/README.md | 7 -
src/plugins/clientTheme/clientTheme.css | 4 +-
src/plugins/dearrow/index.tsx | 6 +-
src/plugins/decor/README.md | 17 -
src/plugins/decor/index.tsx | 3 +-
src/plugins/decor/lib/constants.ts | 24 +-
src/plugins/decor/settings.tsx | 8 +-
.../decor/ui/modals/GuidelinesModal.tsx | 2 +-
.../index.tsx | 0
.../equicordCSS/css/betterauthapps.css | 80 +
.../equicordCSS/css/betterstatuspicker.css | 56 +
src/plugins/equicordCSS/css/equicord.css | 69 +
.../equicordCSS/css/graidentbuttons.css | 100 +
src/plugins/equicordCSS/css/main.min.css | 10 +
.../equicordCSS/css/nitrothemesfix.css | 1 +
src/plugins/equicordCSS/css/settingsicons.css | 21 +
.../equicordCSS/css/userreimagined.css | 82 +
src/plugins/equicordCSS/index.ts | 133 +
.../index.css | 0
.../index.tsx | 6 +-
src/plugins/fakeNitro/index.tsx | 14 +-
.../components/BuilderButton.tsx | 62 +
.../components/ColorPickerModal.tsx | 95 +
.../components/ProfileEffectModal.tsx | 103 +
src/plugins/fakeProfileThemes/index.tsx | 633 ++-
src/plugins/fakeProfileThemes/types.ts | 68 +
src/plugins/favGifSearch/index.tsx | 1 -
src/plugins/fixCodeblockGap/index.ts | 18 +-
.../fixSpotifyEmbeds.desktop/native.ts | 2 +-
.../fixYoutubeEmbeds.desktop/README.md | 5 -
.../fixYoutubeEmbeds.desktop/native.ts | 2 +-
src/plugins/friendsSince/README.md | 5 -
src/plugins/friendsSince/index.tsx | 3 +-
src/plugins/imageZoom/index.tsx | 2 +-
src/plugins/imageZoom/styles.css | 4 +-
src/plugins/invisibleChat.desktop/index.tsx | 41 +-
.../components/SpotifyIcon.tsx | 11 +
.../components/TwitchIcon.tsx | 11 +
src/plugins/memberListActivites/index.tsx | 290 +
src/plugins/memberListActivites/styles.css | 20 +
src/plugins/messageLinkEmbeds/index.tsx | 3 +-
src/plugins/messageLogger/index.tsx | 20 +-
src/plugins/messageTags/index.ts | 14 +
src/plugins/mutualGroupDMs/index.tsx | 2 +-
src/plugins/newGuildSettings/index.tsx | 2 +-
src/plugins/notificationVolume/README.md | 3 -
.../{index.ts => index.tsx} | 0
src/plugins/oneko/index.ts | 62 +-
src/plugins/petpet/index.ts | 3 +-
.../pinDms/components/CreateCategoryModal.tsx | 1 -
src/plugins/pronoundb/index.ts | 3 +-
src/plugins/pronoundb/pronoundbUtils.ts | 55 +-
src/plugins/pronoundb/types.ts | 45 +-
.../readAllNotificationsButton/index.tsx | 2 +-
src/plugins/resurrectHome/README.md | 5 -
.../reviewDB/components/MessageButton.tsx | 22 +
.../reviewDB/components/ReviewComponent.tsx | 154 +-
.../reviewDB/components/ReviewsView.tsx | 12 +-
src/plugins/reviewDB/entities.ts | 1 +
src/plugins/reviewDB/settings.tsx | 1 -
src/plugins/reviewDB/style.css | 63 +-
src/plugins/sendTimestamps/styles.css | 5 +-
src/plugins/serverListIndicators/index.tsx | 91 +-
src/plugins/serverListIndicators/styles.css | 74 +
src/plugins/shikiCodeblocks.desktop/index.ts | 2 +-
src/plugins/showConnections/index.tsx | 2 +-
src/plugins/showMeYourName/index.tsx | 53 +-
src/plugins/spotifyControls/index.tsx | 4 +-
src/plugins/spotifyControls/spotifyStyles.css | 1 +
src/plugins/themeAttributes/index.ts | 1 +
src/plugins/translate/styles.css | 5 +-
src/plugins/typingIndicator/index.tsx | 2 +-
src/plugins/unlockedAvatarZoom/README.md | 5 -
src/plugins/urbanDictionary/README.md | 13 -
src/plugins/userVoiceShow/index.tsx | 2 +-
src/plugins/vcNarrator/index.tsx | 15 +-
src/plugins/xsOverlay.desktop/README.md | 2 +-
src/shared/vencordUserAgent.ts | 3 +-
src/utils/constants.ts | 262 +-
src/utils/dependencies.ts | 18 +
src/utils/patches.ts | 10 +-
src/utils/quickCss.ts | 38 +-
src/utils/react.tsx | 19 +
src/utils/settingsSync.ts | 4 +-
src/utils/text.ts | 33 +
src/{main/themes => utils/themes/bd}/LICENSE | 0
src/{main/themes => utils/themes/bd}/index.ts | 0
src/utils/themes/index.ts | 17 +
src/utils/themes/usercss/compiler.ts | 109 +
src/utils/themes/usercss/index.ts | 44 +
src/utils/themes/usercss/usercss-meta.d.ts | 134 +
src/webpack/common/components.ts | 1 -
src/webpack/common/internal.tsx | 1 -
src/webpack/common/menu.ts | 2 -
src/webpack/common/react.ts | 1 -
src/webpack/common/settingsStores.ts | 1 -
src/webpack/common/stores.ts | 2 +-
src/webpack/common/types/components.d.ts | 11 +-
src/webpack/common/types/fluxEvents.d.ts | 2 +-
src/webpack/common/types/index.d.ts | 3 +
src/webpack/common/types/menu.d.ts | 9 +-
.../common/types/passiveupdatestate.d.ts | 41 +
src/webpack/common/types/voicestate.d.ts | 21 +
src/webpack/common/utils.ts | 2 -
src/webpack/patchWebpack.ts | 354 +-
src/webpack/webpack.ts | 34 +-
tsconfig.json | 36 +-
326 files changed, 24876 insertions(+), 2280 deletions(-)
delete mode 100644 .github/workflows/publish.yml
create mode 100644 patches/@types__less@3.0.6.patch
delete mode 100644 patches/eslint-plugin-path-alias@1.0.0.patch
create mode 100644 src/components/ThemeSettings/OnlineThemes.tsx
create mode 100644 src/components/ThemeSettings/ThemesTab.tsx
create mode 100644 src/components/ThemeSettings/UserCSSModal.tsx
create mode 100644 src/components/ThemeSettings/components/SettingBooleanComponent.tsx
create mode 100644 src/components/ThemeSettings/components/SettingColorComponent.tsx
create mode 100644 src/components/ThemeSettings/components/SettingNumberComponent.tsx
create mode 100644 src/components/ThemeSettings/components/SettingRangeComponent.tsx
create mode 100644 src/components/ThemeSettings/components/SettingSelectComponent.tsx
create mode 100644 src/components/ThemeSettings/components/SettingTextComponent.tsx
create mode 100644 src/components/ThemeSettings/components/colorStyles.css
create mode 100644 src/components/ThemeSettings/components/index.ts
create mode 100644 src/components/ThemeSettings/themesStyles.css
delete mode 100644 src/components/VencordSettings/ThemesTab.tsx
create mode 100644 src/equicordplugins/VCSupport/index.ts
create mode 100644 src/equicordplugins/allCallTimers/Timer.tsx
create mode 100644 src/equicordplugins/allCallTimers/TimerIcon.tsx
create mode 100644 src/equicordplugins/allCallTimers/index.tsx
create mode 100644 src/equicordplugins/allCallTimers/timerText.tsx
create mode 100644 src/equicordplugins/allowedMentions/AllowedMentions.css
create mode 100644 src/equicordplugins/allowedMentions/AllowedMentions.tsx
create mode 100644 src/equicordplugins/allowedMentions/index.tsx
create mode 100644 src/equicordplugins/altKrispSwitch/index.tsx
create mode 100644 src/equicordplugins/annamox/index.ts
create mode 100644 src/equicordplugins/betterQuickReact/index.tsx
create mode 100644 src/equicordplugins/betterQuickReact/style.css
create mode 100644 src/equicordplugins/blockKrisp.discordDesktop/index.ts
create mode 100644 src/equicordplugins/bypassDND/index.tsx
create mode 100644 src/equicordplugins/cleanChannelName/index.ts
create mode 100644 src/equicordplugins/colorMessage/index.ts
create mode 100644 src/equicordplugins/colorMessage/style.css
create mode 100644 src/equicordplugins/copyEmojiAsFormattedString/index.tsx
create mode 100644 src/equicordplugins/copyUserMention/index.tsx
create mode 100644 src/equicordplugins/customAppIcons/AppIconModal.tsx
create mode 100644 src/equicordplugins/customAppIcons/index.tsx
create mode 100644 src/equicordplugins/customScreenShare.desktop/goofs.tsx
create mode 100644 src/equicordplugins/customScreenShare.desktop/index.tsx
create mode 100644 src/equicordplugins/customScreenShare.desktop/utils.ts
create mode 100644 src/equicordplugins/deadMembers/index.tsx
create mode 100644 src/equicordplugins/doNotLeak/index.ts
create mode 100644 src/equicordplugins/doNotLeak/style.css
create mode 100644 src/equicordplugins/doubleCounterVerifyBypass/index.tsx
create mode 100644 src/equicordplugins/emojiDumper/index.tsx
create mode 100644 src/equicordplugins/encryptcord/index.tsx
create mode 100644 src/equicordplugins/encryptcord/rsa-utils.tsx
create mode 100644 src/equicordplugins/exportContacts/index.tsx
create mode 100644 src/equicordplugins/exportContacts/styles.css
create mode 100644 src/equicordplugins/findReply/ReplyNavigator.tsx
create mode 100644 src/equicordplugins/findReply/index.tsx
create mode 100644 src/equicordplugins/findReply/styles.css
create mode 100644 src/equicordplugins/gifCollections/CollectionManager.ts
create mode 100644 src/equicordplugins/gifCollections/constants.ts
create mode 100644 src/equicordplugins/gifCollections/index.tsx
create mode 100644 src/equicordplugins/gifCollections/types.ts
create mode 100644 src/equicordplugins/gifCollections/utils/cleanUrl.ts
create mode 100644 src/equicordplugins/gifCollections/utils/getFormat.ts
create mode 100644 src/equicordplugins/gifCollections/utils/getGif.ts
create mode 100644 src/equicordplugins/gifCollections/utils/getUrlExtension.ts
create mode 100644 src/equicordplugins/gifCollections/utils/isAudio.ts
create mode 100644 src/equicordplugins/gifCollections/utils/settingsUtils.ts
create mode 100644 src/equicordplugins/gifCollections/utils/uuidv4.ts
create mode 100644 src/equicordplugins/globalBadges/index.tsx
create mode 100644 src/equicordplugins/hideMessage/EyeIcon.tsx
create mode 100644 src/equicordplugins/hideMessage/HideIcon.tsx
create mode 100644 src/equicordplugins/hideMessage/HideMessageAccessory.tsx
create mode 100644 src/equicordplugins/hideMessage/index.tsx
create mode 100644 src/equicordplugins/hideMessage/styles.css
create mode 100644 src/equicordplugins/holyNotes/NoteHandler.ts
create mode 100644 src/equicordplugins/holyNotes/components/icons/HelpIcon.tsx
create mode 100644 src/equicordplugins/holyNotes/components/icons/NoteButton.tsx
create mode 100644 src/equicordplugins/holyNotes/components/icons/overFlowIcon.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/Error.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/HelpModal.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/ManageNotebookButton.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/NoteBookTab.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/Notebook.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/NotebookCreateModal.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/NotebookDeleteModal.tsx
create mode 100644 src/equicordplugins/holyNotes/components/modals/RenderMessage.tsx
create mode 100644 src/equicordplugins/holyNotes/index.tsx
create mode 100644 src/equicordplugins/holyNotes/style.css
create mode 100644 src/equicordplugins/holyNotes/types.ts
create mode 100644 src/equicordplugins/holyNotes/utils.ts
create mode 100644 src/equicordplugins/hopOn/index.tsx
create mode 100644 src/equicordplugins/iRememberYou/index.tsx
create mode 100644 src/equicordplugins/ignoreTerms/index.ts
create mode 100644 src/equicordplugins/imageLink/index.ts
create mode 100644 src/equicordplugins/keyboardSounds/index.ts
create mode 100644 src/equicordplugins/keyboardSounds/sounds/backspace.wav
create mode 100644 src/equicordplugins/keyboardSounds/sounds/click1.wav
create mode 100644 src/equicordplugins/keyboardSounds/sounds/click2.wav
create mode 100644 src/equicordplugins/keyboardSounds/sounds/click3.wav
create mode 100644 src/equicordplugins/keywordNotify/index.tsx
create mode 100644 src/equicordplugins/keywordNotify/style.css
create mode 100644 src/equicordplugins/messageLatency/index.tsx
create mode 100644 src/equicordplugins/messageLinkTooltip/index.tsx
create mode 100644 src/equicordplugins/messageLinkTooltip/style.css
create mode 100644 src/equicordplugins/messageLoggerEnhanced/LoggedMessageManager.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/components/LogsButton.tsx
create mode 100644 src/equicordplugins/messageLoggerEnhanced/components/LogsModal.tsx
create mode 100644 src/equicordplugins/messageLoggerEnhanced/index.tsx
create mode 100644 src/equicordplugins/messageLoggerEnhanced/native/index.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/native/settings.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/native/utils.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/styles.css
create mode 100644 src/equicordplugins/messageLoggerEnhanced/types.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/LimitedMap.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/cleanUp.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/constants.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/freedom/importMeToPreload.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/index.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/memoize.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/misc.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/parseQuery.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/saveImage/ImageManager.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/saveImage/index.ts
create mode 100644 src/equicordplugins/messageLoggerEnhanced/utils/settingsUtils.ts
create mode 100644 src/equicordplugins/noModalAnimation/index.ts
create mode 100644 src/equicordplugins/noNitroUpsell/index.ts
create mode 100644 src/equicordplugins/notifyUserChanges/components/NotificationsOffIcon.tsx
create mode 100644 src/equicordplugins/notifyUserChanges/components/NotificationsOnIcon.tsx
create mode 100644 src/equicordplugins/notifyUserChanges/index.tsx
rename src/{plugins => equicordplugins}/onePingPerDM/README.md (100%)
rename src/{plugins => equicordplugins}/onePingPerDM/index.ts (100%)
create mode 100644 src/equicordplugins/platformSpoofer/index.ts
create mode 100644 src/equicordplugins/purgeMessages/index.ts
create mode 100644 src/equicordplugins/questionMarkReplacement/index.tsx
create mode 100644 src/equicordplugins/quoter/index.tsx
create mode 100644 src/equicordplugins/replyPingControl/index.ts
create mode 100644 src/equicordplugins/replyTimestamp/index.tsx
create mode 100644 src/equicordplugins/replyTimestamp/style.css
create mode 100644 src/equicordplugins/screenRecorder.vencordDesktop/index.tsx
create mode 100644 src/equicordplugins/screenShareStreamerMode/index.ts
create mode 100644 src/equicordplugins/search/index.ts
create mode 100644 src/equicordplugins/searchFix/index.tsx
create mode 100644 src/equicordplugins/sekaiStickers/Components/Canvas.tsx
create mode 100644 src/equicordplugins/sekaiStickers/Components/Picker.tsx
create mode 100644 src/equicordplugins/sekaiStickers/Components/SekaiStickersModal.tsx
create mode 100644 src/equicordplugins/sekaiStickers/characters.json.ts
create mode 100644 src/equicordplugins/sekaiStickers/index.tsx
create mode 100644 src/equicordplugins/sekaiStickers/kanade.svg.tsx
create mode 100644 src/equicordplugins/serverProfilesToolBox/index.tsx
create mode 100644 src/equicordplugins/showBadgesInChat/index.tsx
create mode 100644 src/equicordplugins/showBadgesInChat/settings.tsx
create mode 100644 src/equicordplugins/showBadgesInChat/styles.css
create mode 100644 src/equicordplugins/slap/index.ts
create mode 100644 src/equicordplugins/soundBoardLogger/components/CloneSoundModal.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/components/Icons.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/components/MoreUsersModal.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/components/SoundBoardLog.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/components/UserModal.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/index.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/settings.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/store.tsx
create mode 100644 src/equicordplugins/soundBoardLogger/styles.css
create mode 100644 src/equicordplugins/soundBoardLogger/utils.ts
create mode 100644 src/equicordplugins/title/index.ts
create mode 100644 src/equicordplugins/unlimitedAccounts/index.ts
create mode 100644 src/equicordplugins/usrpfp/index.tsx
create mode 100644 src/equicordplugins/validReply/index.ts
create mode 100644 src/equicordplugins/vencordRPC/index.ts
create mode 100644 src/equicordplugins/voiceChatUtils/index.tsx
create mode 100644 src/equicordplugins/voiceDownload/index.tsx
create mode 100644 src/equicordplugins/voiceDownload/style.css
create mode 100644 src/equicordplugins/whosWatching/index.tsx
delete mode 100644 src/plugins/betterRoleContext/README.md
delete mode 100644 src/plugins/betterSettings/README.md
delete mode 100644 src/plugins/clientTheme/README.md
delete mode 100644 src/plugins/decor/README.md
rename src/plugins/{devCompanion.dev => devCompanion}/index.tsx (100%)
create mode 100644 src/plugins/equicordCSS/css/betterauthapps.css
create mode 100644 src/plugins/equicordCSS/css/betterstatuspicker.css
create mode 100644 src/plugins/equicordCSS/css/equicord.css
create mode 100644 src/plugins/equicordCSS/css/graidentbuttons.css
create mode 100644 src/plugins/equicordCSS/css/main.min.css
create mode 100644 src/plugins/equicordCSS/css/nitrothemesfix.css
create mode 100644 src/plugins/equicordCSS/css/settingsicons.css
create mode 100644 src/plugins/equicordCSS/css/userreimagined.css
create mode 100644 src/plugins/equicordCSS/index.ts
rename src/plugins/{vencordToolbox => equicordToolbox}/index.css (100%)
rename src/plugins/{vencordToolbox => equicordToolbox}/index.tsx (97%)
create mode 100644 src/plugins/fakeProfileThemes/components/BuilderButton.tsx
create mode 100644 src/plugins/fakeProfileThemes/components/ColorPickerModal.tsx
create mode 100644 src/plugins/fakeProfileThemes/components/ProfileEffectModal.tsx
create mode 100644 src/plugins/fakeProfileThemes/types.ts
delete mode 100644 src/plugins/fixYoutubeEmbeds.desktop/README.md
delete mode 100644 src/plugins/friendsSince/README.md
create mode 100644 src/plugins/memberListActivites/components/SpotifyIcon.tsx
create mode 100644 src/plugins/memberListActivites/components/TwitchIcon.tsx
create mode 100644 src/plugins/memberListActivites/index.tsx
create mode 100644 src/plugins/memberListActivites/styles.css
delete mode 100644 src/plugins/notificationVolume/README.md
rename src/plugins/notificationVolume/{index.ts => index.tsx} (100%)
delete mode 100644 src/plugins/resurrectHome/README.md
create mode 100644 src/plugins/serverListIndicators/styles.css
delete mode 100644 src/plugins/unlockedAvatarZoom/README.md
delete mode 100644 src/plugins/urbanDictionary/README.md
rename src/{main/themes => utils/themes/bd}/LICENSE (100%)
rename src/{main/themes => utils/themes/bd}/index.ts (100%)
create mode 100644 src/utils/themes/index.ts
create mode 100644 src/utils/themes/usercss/compiler.ts
create mode 100644 src/utils/themes/usercss/index.ts
create mode 100644 src/utils/themes/usercss/usercss-meta.d.ts
create mode 100644 src/webpack/common/types/passiveupdatestate.d.ts
create mode 100644 src/webpack/common/types/voicestate.d.ts
diff --git a/.eslintrc.json b/.eslintrc.json
index 2ee24e8b..c422d22f 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,23 +1,40 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
- "ignorePatterns": ["dist", "browser"],
+ "ignorePatterns": [
+ "dist",
+ "browser"
+ ],
"plugins": [
"@typescript-eslint",
"simple-header",
"simple-import-sort",
- "unused-imports",
- "path-alias"
+ "unused-imports"
],
"settings": {
"import/resolver": {
"alias": {
"map": [
- ["@webpack", "./src/webpack"],
- ["@webpack/common", "./src/webpack/common"],
- ["@utils", "./src/utils"],
- ["@api", "./src/api"],
- ["@components", "./src/components"]
+ [
+ "@webpack",
+ "./src/webpack"
+ ],
+ [
+ "@webpack/common",
+ "./src/webpack/common"
+ ],
+ [
+ "@utils",
+ "./src/utils"
+ ],
+ [
+ "@api",
+ "./src/api"
+ ],
+ [
+ "@components",
+ "./src/components"
+ ]
]
}
}
@@ -29,37 +46,120 @@
"simple-header/header": [
"error",
{
- "files": ["scripts/header-new.txt", "scripts/header-old.txt"],
- "templates": { "author": [".*", "Vendicated and contributors"] }
+ "files": [
+ "scripts/header-new.txt",
+ "scripts/header-old.txt"
+ ],
+ "templates": {
+ "author": [
+ ".*",
+ "Vendicated and contributors"
+ ]
+ }
}
],
- "quotes": ["error", "double", { "avoidEscape": true }],
- "jsx-quotes": ["error", "prefer-double"],
+ "quotes": [
+ "error",
+ "double",
+ {
+ "avoidEscape": true
+ }
+ ],
+ "jsx-quotes": [
+ "error",
+ "prefer-double"
+ ],
"no-mixed-spaces-and-tabs": "error",
- "indent": ["error", 4, { "SwitchCase": 1 }],
- "arrow-parens": ["error", "as-needed"],
- "eol-last": ["error", "always"],
- "@typescript-eslint/func-call-spacing": ["error", "never"],
+ "indent": [
+ "error",
+ 4,
+ {
+ "SwitchCase": 1
+ }
+ ],
+ "arrow-parens": [
+ "error",
+ "as-needed"
+ ],
+ "eol-last": [
+ "error",
+ "always"
+ ],
+ "@typescript-eslint/func-call-spacing": [
+ "error",
+ "never"
+ ],
"no-multi-spaces": "error",
"no-trailing-spaces": "error",
"no-whitespace-before-property": "error",
- "semi": ["error", "always"],
- "semi-style": ["error", "last"],
- "space-in-parens": ["error", "never"],
- "block-spacing": ["error", "always"],
- "object-curly-spacing": ["error", "always"],
- "eqeqeq": ["error", "always", { "null": "ignore" }],
- "spaced-comment": ["error", "always", { "markers": ["!"] }],
+ "semi": [
+ "error",
+ "always"
+ ],
+ "semi-style": [
+ "error",
+ "last"
+ ],
+ "space-in-parens": [
+ "error",
+ "never"
+ ],
+ "block-spacing": [
+ "error",
+ "always"
+ ],
+ "object-curly-spacing": [
+ "error",
+ "always"
+ ],
+ "eqeqeq": [
+ "error",
+ "always",
+ {
+ "null": "ignore"
+ }
+ ],
+ "spaced-comment": [
+ "error",
+ "always",
+ {
+ "markers": [
+ "!"
+ ]
+ }
+ ],
"yoda": "error",
- "prefer-destructuring": ["error", {
- "VariableDeclarator": { "array": false, "object": true },
- "AssignmentExpression": { "array": false, "object": false }
- }],
- "operator-assignment": ["error", "always"],
+ "prefer-destructuring": [
+ "error",
+ {
+ "VariableDeclarator": {
+ "array": false,
+ "object": true
+ },
+ "AssignmentExpression": {
+ "array": false,
+ "object": false
+ }
+ }
+ ],
+ "operator-assignment": [
+ "error",
+ "always"
+ ],
"no-useless-computed-key": "error",
- "no-unneeded-ternary": ["error", { "defaultAssignment": false }],
+ "no-unneeded-ternary": [
+ "error",
+ {
+ "defaultAssignment": false
+ }
+ ],
"no-invalid-regexp": "error",
- "no-constant-condition": ["error", { "checkLoops": false }],
+ "no-constant-condition": [
+ "error",
+ {
+ "checkLoops": false
+ }
+ ],
"no-duplicate-imports": "error",
"no-extra-semi": "error",
"dot-notation": "error",
@@ -87,12 +187,8 @@
"use-isnan": "error",
"prefer-const": "error",
"prefer-spread": "error",
-
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
-
- "unused-imports/no-unused-imports": "error",
-
- "path-alias/no-relative": "error"
+ "unused-imports/no-unused-imports": "error"
}
-}
+}
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/blank.yml b/.github/ISSUE_TEMPLATE/blank.yml
index e8ca246d..94432f22 100644
--- a/.github/ISSUE_TEMPLATE/blank.yml
+++ b/.github/ISSUE_TEMPLATE/blank.yml
@@ -10,7 +10,7 @@ body:
This form is ONLY FOR DEVELOPERS. YOUR ISSUE WILL BE CLOSED AND YOU WILL POSSIBLY BE BLOCKED FROM THE REPOSITORY IF YOU IGNORE THIS.
DO NOT USE THIS FORM, unless
- - you are a vencord contributor
+ - you are a equicord/vencord contributor
- you were given explicit permission to use this form by a moderator in our support server
- you are filing a security related report
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index d79f5e49..17a50fa1 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,5 +1,5 @@
name: Bug/Crash Report
-description: Create a bug or crash report for Vencord. ALWAYS FIRST USE OUR SUPPORT CHANNEL! ONLY USE THIS FORM IF YOU ARE A CONTRIBUTOR OR WERE TOLD TO DO SO IN THE SUPPORT CHANNEL.
+description: Create a bug or crash report for Equicord. ALWAYS FIRST USE OUR SUPPORT CHANNEL! ONLY USE THIS FORM IF YOU ARE A CONTRIBUTOR OR WERE TOLD TO DO SO IN THE SUPPORT CHANNEL.
labels: [bug]
title: "[Bug]
"
@@ -12,10 +12,10 @@ body:
This form is ONLY FOR DEVELOPERS. YOUR ISSUE WILL BE CLOSED AND YOU WILL POSSIBLY BE BLOCKED FROM THE REPOSITORY IF YOU IGNORE THIS.
DO NOT USE THIS FORM, unless
- - you are a vencord contributor
+ - you are a equicord/vencord contributor
- you were given explicit permission to use this form by a moderator in our support server
- DO NOT USE THIS FORM FOR SECURITY RELATED ISSUES. [CREATE A SECURITY ADVISORY INSTEAD.](https://github.com/Vendicated/Vencord/security/advisories/new)
+ DO NOT USE THIS FORM FOR SECURITY RELATED ISSUES. [CREATE A SECURITY ADVISORY INSTEAD.](https://github.com/Equicord/Equicord/security/advisories/new)
- type: input
id: discord
@@ -40,7 +40,7 @@ body:
attributes:
label: What is the expected behaviour?
description: Simply detail what the expected behaviour is.
- placeholder: I expect Vencord/Discord to open the ... page instead of ..., it prevents me from doing ...
+ placeholder: I expect Equicord/Discord to open the ... page instead of ..., it prevents me from doing ...
validations:
required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index bc5d9766..56216d2a 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- - name: Vencord Support Server
- url: https://discord.gg/D9uwnFnqmd
- about: If you need help regarding Vencord, please join our support server!
- - name: Vencord Installer
- url: https://github.com/Vencord/Installer
- about: You can find the Vencord Installer here
+ - name: Equicord Support Server
+ url: https://discord.gg/XVAwhj6Z6c
+ about: If you need help regarding Equicord, please join our support server!
+ - name: Equicord Installer
+ url: https://github.com/Equicord/Installer
+ about: You can find the Equicord Installer here
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9ed7d5ca..d1543380 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,80 +1,71 @@
name: Build DevBuild
on:
- push:
- branches:
- - main
- paths:
- - .github/workflows/build.yml
- - src/**
- - browser/**
- - scripts/build/**
- - package.json
- - pnpm-lock.yaml
+ push:
+ branches:
+ - main
+ paths:
+ - .github/workflows/build.yml
+ - src/**
+ - browser/**
+ - scripts/build/**
+ - package.json
+ - pnpm-lock.yaml
env:
- FORCE_COLOR: true
+ FORCE_COLOR: true
jobs:
- Build:
- runs-on: ubuntu-latest
+ DetermineRunner:
+ name: Determine Runner
+ runs-on: ubuntu-latest
+ outputs:
+ runner: ${{ steps.set-runner.outputs.runner }}
+ steps:
+ - name: Determine which runner to use
+ id: set-runner
+ uses: benjaminmichaelis/get-soonest-available-runner@v1.1.0
+ with:
+ primary-runner: "self-hosted"
+ fallback-runner: "ubuntu-latest"
+ min-available-runners: 1
+ github-token: ${{ env.GITHUB_TOKEN }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.ETOKEN }}
- steps:
- - uses: actions/checkout@v3
+ Build:
+ name: Build Equicord
+ needs: DetermineRunner
+ runs-on: ${{ needs.DetermineRunner.outputs.runner}}
- - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
+ steps:
+ - uses: actions/checkout@v4
- - name: Use Node.js 19
- uses: actions/setup-node@v3
- with:
- node-version: 19
- cache: "pnpm"
+ - uses: pnpm/action-setup@v3
- - name: Install dependencies
- run: pnpm install --frozen-lockfile
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: "pnpm"
- - name: Build web
- run: pnpm buildWeb --standalone
+ - name: Install dependencies
+ run: pnpm install --frozen-lockfile
- - name: Build
- run: pnpm build --standalone
+ - name: Build web
+ run: pnpm buildWeb --standalone
- - name: Generate plugin list
- run: pnpm generatePluginJson dist/plugins.json dist/plugin-readmes.json
+ - name: Build
+ run: pnpm build --standalone
- - name: Clean up obsolete files
- run: |
- rm -rf dist/*-unpacked dist/monaco Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map
+ - name: Generate plugin list
+ run: pnpm generatePluginJson dist/plugins.json dist/plugin-readmes.json
- - name: Get some values needed for the release
- id: release_values
- run: |
- echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
+ - name: Clean up obsolete files
+ run: |
+ rm -rf dist/*-unpacked dist/monaco Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map
- - name: Upload DevBuild as release
- if: github.repository == 'Vendicated/Vencord'
- run: |
- gh release upload devbuild --clobber dist/*
- gh release edit devbuild --title "DevBuild $RELEASE_TAG"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- RELEASE_TAG: ${{ env.release_tag }}
-
- - name: Upload DevBuild to builds repo
- if: github.repository == 'Vendicated/Vencord'
- run: |
- git config --global user.name "$USERNAME"
- git config --global user.email actions@github.com
-
- git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git upload
- cd upload
-
- GLOBIGNORE=.git:.gitignore:README.md:LICENSE
- rm -rf *
- cp -r ../dist/* .
-
- git add -A
- git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
- git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git
- env:
- API_TOKEN: ${{ secrets.BUILDS_TOKEN }}
- GH_REPO: Vencord/builds
- USERNAME: GitHub-Actions
+ - name: Upload DevBuild as release
+ if: github.repository == 'Equicord/Equicord'
+ run: |
+ gh release upload latest --clobber dist/*
+ env:
+ GITHUB_TOKEN: ${{ secrets.ETOKEN }}
diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml
index 1b2266ee..fc4b4a09 100644
--- a/.github/workflows/codeberg-mirror.yml
+++ b/.github/workflows/codeberg-mirror.yml
@@ -1,22 +1,40 @@
name: Sync to Codeberg
concurrency:
- group: ${{ github.ref }}
- cancel-in-progress: true
+ group: ${{ github.ref }}
+ cancel-in-progress: true
on:
- push:
- workflow_dispatch:
- schedule:
- - cron: "0 */6 * * *"
+ push:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 */6 * * *"
jobs:
- codeberg:
- if: github.repository == 'Vendicated/Vencord'
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- fetch-depth: 0
- - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
- with:
- target_repo_url: "git@codeberg.org:Vee/cord.git"
- ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}
+ DetermineRunner:
+ name: Determine Runner
+ runs-on: ubuntu-latest
+ outputs:
+ runner: ${{ steps.set-runner.outputs.runner }}
+ steps:
+ - name: Determine which runner to use
+ id: set-runner
+ uses: benjaminmichaelis/get-soonest-available-runner@v1.1.0
+ with:
+ primary-runner: "self-hosted"
+ fallback-runner: "ubuntu-latest"
+ min-available-runners: 1
+ github-token: ${{ env.GITHUB_TOKEN }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.ETOKEN }}
+
+ codeberg:
+ if: github.repository == 'Equicord/Equicord'
+ needs: DetermineRunner
+ runs-on: ${{ needs.DetermineRunner.outputs.runner }}
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
+ with:
+ target_repo_url: "git@codeberg.org:thororen/Equicord.git"
+ ssh_private_key: ${{ secrets.CODEBERG }}
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
deleted file mode 100644
index 83236c11..00000000
--- a/.github/workflows/publish.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Release Browser Extension
-on:
- push:
- tags:
- - v*
-
-jobs:
- Publish:
- if: github.repository == 'Vendicated/Vencord'
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
-
- - name: check that tag matches package.json version
- run: |
- pkg_version="v$(jq -r .version < package.json)"
- if [[ "${{ github.ref_name }}" != "$pkg_version" ]]; then
- echo "Tag ${{ github.ref_name }} does not match package.json version $pkg_version" >&2
- exit 1
- fi
-
- - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
-
- - name: Use Node.js 19
- uses: actions/setup-node@v3
- with:
- node-version: 19
- cache: "pnpm"
-
- - name: Install dependencies
- run: pnpm install --frozen-lockfile
-
- - name: Build web
- run: pnpm buildWeb --standalone
-
- - name: Publish extension
- run: |
- cd dist/chromium-unpacked
- pnpx chrome-webstore-upload-cli@2.1.0 upload --auto-publish
- env:
- EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
- CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
- CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
- REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml
index 4b09463e..677ae3c5 100644
--- a/.github/workflows/reportBrokenPlugins.yml
+++ b/.github/workflows/reportBrokenPlugins.yml
@@ -1,64 +1,63 @@
name: Test Patches
on:
- workflow_dispatch:
- schedule:
- # Every day at midnight
- - cron: 0 0 * * *
+ workflow_dispatch:
+ schedule:
+ # Every day at midnight
+ - cron: 0 0 * * *
jobs:
- TestPlugins:
- if: github.repository == 'Vendicated/Vencord'
- runs-on: ubuntu-latest
+ TestPlugins:
+ name: Test Patches
+ if: github.repository == 'Equicord/Equicord'
+ runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- if: ${{ github.event_name == 'schedule' }}
- with:
- ref: dev
+ steps:
+ - uses: actions/checkout@v4
+ if: ${{ github.event_name == 'schedule' }}
- - uses: actions/checkout@v3
- if: ${{ github.event_name == 'workflow_dispatch' }}
+ - uses: actions/checkout@v4
+ if: ${{ github.event_name == 'workflow_dispatch' }}
- - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
+ - uses: pnpm/action-setup@v3 # Install pnpm using packageManager key in package.json
- - name: Use Node.js 19
- uses: actions/setup-node@v3
- with:
- node-version: 19
- cache: "pnpm"
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: "pnpm"
- - name: Install dependencies
- run: |
- pnpm install --frozen-lockfile
- pnpm add puppeteer
+ - name: Install dependencies
+ run: |
+ pnpm install --frozen-lockfile
+ pnpm add puppeteer
- sudo apt-get install -y chromium-browser
+ sudo apt-get install -y chromium-browser
- - name: Build web
- run: pnpm buildWeb --standalone --dev
+ - name: Build web
+ run: pnpm buildWeb --standalone --dev
- - name: Create Report
- timeout-minutes: 10
- run: |
- export PATH="$PWD/node_modules/.bin:$PATH"
- export CHROMIUM_BIN=$(which chromium-browser)
+ - name: Create Report
+ timeout-minutes: 10
+ run: |
+ export PATH="$PWD/node_modules/.bin:$PATH"
+ export CHROMIUM_BIN=$(which chromium-browser)
- esbuild scripts/generateReport.ts > dist/report.mjs
- node dist/report.mjs >> $GITHUB_STEP_SUMMARY
- env:
- DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
+ esbuild scripts/generateReport.ts > dist/report.mjs
+ node dist/report.mjs >> $GITHUB_STEP_SUMMARY
+ env:
+ DISCORD_TOKEN: ${{ secrets.DTOKEN }}
+ DISCORD_WEBHOOK: ${{ secrets.WEBHOOK }}
- - name: Create Report (Canary)
- timeout-minutes: 10
- if: success() || failure() # even run if previous one failed
- run: |
- export PATH="$PWD/node_modules/.bin:$PATH"
- export CHROMIUM_BIN=$(which chromium-browser)
- export USE_CANARY=true
+ - name: Create Report (Canary)
+ timeout-minutes: 10
+ if: success() || failure() # even run if previous one failed
+ run: |
+ export PATH="$PWD/node_modules/.bin:$PATH"
+ export CHROMIUM_BIN=$(which chromium-browser)
+ export USE_CANARY=true
- esbuild scripts/generateReport.ts > dist/report.mjs
- node dist/report.mjs >> $GITHUB_STEP_SUMMARY
- env:
- DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
+ esbuild scripts/generateReport.ts > dist/report.mjs
+ node dist/report.mjs >> $GITHUB_STEP_SUMMARY
+ env:
+ DISCORD_TOKEN: ${{ secrets.DTOKEN }}
+ DISCORD_WEBHOOK: ${{ secrets.WEBHOOK }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d4746d67..07e9ea65 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,32 +1,82 @@
name: test
on:
- push:
- pull_request:
- branches:
- - main
- - dev
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
jobs:
- test:
- runs-on: ubuntu-latest
+ DetermineRunner:
+ name: Determine Runner
+ if: ${{ github.event_name == 'push' }}
+ runs-on: ubuntu-latest
+ outputs:
+ runner: ${{ steps.set-runner.outputs.runner }}
+ steps:
+ - name: Determine which runner to use
+ id: set-runner
+ uses: benjaminmichaelis/get-soonest-available-runner@v1.1.0
+ with:
+ primary-runner: "self-hosted"
+ fallback-runner: "ubuntu-latest"
+ min-available-runners: 1
+ github-token: ${{ env.GITHUB_TOKEN }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.ETOKEN }}
- steps:
- - uses: actions/checkout@v3
- - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
+ Test:
+ name: Test For Pushes
+ needs: DetermineRunner
+ if: ${{ github.event_name == 'push' }}
+ runs-on: ${{ needs.DetermineRunner.outputs.runner}}
- - name: Use Node.js 18
- uses: actions/setup-node@v3
- with:
- node-version: 18
- cache: "pnpm"
+ steps:
+ - uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v3 # Install pnpm using packageManager key in package.json
- - name: Install dependencies
- run: pnpm install --frozen-lockfile
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: "pnpm"
- - name: Lint & Test if desktop version compiles
- run: pnpm test
+ - name: Install dependencies
+ run: pnpm install --frozen-lockfile
- - name: Test if web version compiles
- run: pnpm buildWeb
+ - name: Lint & Test if desktop version compiles
+ run: pnpm test
- - name: Test if plugin structure is valid
- run: pnpm generatePluginJson
+ - name: Test if web version compiles
+ run: pnpm buildWeb
+
+ - name: Test if plugin structure is valid
+ run: pnpm generatePluginJson
+
+ TestForPRs:
+ name: Test For Pull Requests
+ if: ${{ github.event_name == 'pull_request' }}
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v3 # Install pnpm using packageManager key in package.json
+
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: "pnpm"
+
+ - name: Install dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Lint & Test if desktop version compiles
+ run: pnpm test
+
+ - name: Test if web version compiles
+ run: pnpm buildWeb
+
+ - name: Test if plugin structure is valid
+ run: pnpm generatePluginJson
diff --git a/.vscode/settings.json b/.vscode/settings.json
index fa543b38..e0164363 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -13,11 +13,10 @@
"typescript.format.semicolons": "insert",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.quoteStyle": "double",
-
"gitlens.remotes": [
{
"domain": "codeberg.org",
"type": "Gitea"
}
]
-}
+}
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 680f8375..c0c1c8f8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -19,7 +19,7 @@ For a friendly introduction to plugins, see [Megu's Plugin Guide!](docs/2_PLUGIN
Because plugins modify code directly, incompatibilities are a problem.
-Thus, 3rd party plugins are not supported, instead all plugins are part of Vencord itself.
+Thus, 3rd party plugins are not supported, instead all plugins are part of Equicord itself.
This way we can ensure compatibility and high quality patches.
Follow the below guide to make your first plugin!
diff --git a/README.md b/README.md
index a43c9f83..45f04fb7 100644
--- a/README.md
+++ b/README.md
@@ -1,67 +1,99 @@
-# Vencord
+# Equicord (Vencord+)
-[](https://codeberg.org/Vee/cord)
+An enhanced version of [Vencord](https://github.com/Vendicated/Vencord) by [Vendicated](https://github.com/Vendicated) called Equicord
-The cutest Discord client mod
-
-|  |
-|:--:|
-| A screenshot of vencord showcasing the [vencord-theme](https://github.com/synqat/vencord-theme) |
+
## Features
-- Super easy to install (Download Installer, open, click install button, done)
-- 100+ plugins built in: [See a list](https://vencord.dev/plugins)
- - Some highlights: SpotifyControls, MessageLogger, Experiments, GameActivityToggle, Translate, NoTrack, QuickReply, Free Emotes/Stickers, PermissionsViewer, CustomCommands, ShowHiddenChannels, PronounDB
+- Third-party plugins implemented into the main build.
+- 100+ plugins built-in.
+ - Some highlights: SpotifyControls, MessageLogger, Experiments, GameActivityToggle, Translate, NoTrack, QuickReply, Free Emotes/Stickers, PermissionsViewer,
+ CustomCommands, ShowHiddenChannels, PronounDB
- Fairly lightweight despite the many inbuilt plugins
-- Excellent Browser Support: Run Vencord in your Browser via extension or UserScript
-- Works on any Discord branch: Stable, Canary or PTB all work (though for the best experience I recommend stable!)
-- Custom CSS and Themes: Inbuilt css editor with support to import any css files (including BetterDiscord themes)
+- Works on any Discord branch: Stable, Canary or PTB all work (though for the best experience, I recommend stable!)
+- Custom CSS and Themes: Inbuilt CSS editor with support to import any CSS files (including BetterDiscord themes)
- Privacy friendly, blocks Discord analytics & crash reporting out of the box and has no telemetry
- Maintained very actively, broken plugins are usually fixed within 12 hours
-- Settings sync: Keep your plugins and their settings synchronised between devices / apps (optional)
+- Able to update inside of Equicord through the update tab.
+- Same supporter badges as on Vencord (Don't lose your benefits)
+- Easy to install third-party plugins through the plugin page in Discord.
+- Request for plugins from Discord.
## Installing / Uninstalling
-Visit https://vencord.dev/download
+### Dependencies
+[Git](https://git-scm.com/download) and [Node.JS LTS](https://nodejs.dev/en/) are required.
+
+### Installing Equicord
+
+Install `pnpm`:
+
+> :exclamation: This next command may need to be run as admin/root depending on your system, and you may need to close and reopen your terminal for pnpm to be in your PATH.
+
+```shell
+npm i -g pnpm
+```
+
+> :exclamation: **IMPORTANT** Make sure you aren't using an admin/root terminal from here onwards. It **will** mess up your Discord/Equicord instance and you **will** most likely have to reinstall.
+
+Clone Equicord:
+
+```shell
+git clone https://github.com/Equicord/Equicord
+cd Equicord
+```
+
+Install dependencies:
+
+```shell
+pnpm install --frozen-lockfile
+```
+
+Build Equicord:
+
+```shell
+pnpm build
+```
+Inject Equicord into your client:
+
+```shell
+pnpm inject
+```
+After you have done this command, it will look like you are just installing Equicord but it will say it is a development build. If it doesn't say it is a development build, please reach out for support in the [Discord Server](https://discord.gg/5Xh2W87egW)
## Join our Support/Community Server
-https://discord.gg/D9uwnFnqmd
-
-## Sponsors
-
-| **Thanks a lot to all Vencord [sponsors](https://github.com/sponsors/Vendicated)!!** |
-|:--:|
-| [](https://github.com/sponsors/Vendicated) |
-| *generated using [github-sponsor-graph](https://github.com/Vendicated/github-sponsor-graph)* |
-
+https://discord.gg/5Xh2W87egW
## Star History
-
+
-
-
-
+
+
+
## Disclaimer
Discord is trademark of Discord Inc. and solely mentioned for the sake of descriptivity.
-Mention of it does not imply any affiliation with or endorsement by Discord Inc.
+Mentioning it does not imply any affiliation with or endorsement by Discord Inc.
+Vencord is not connected to Equicord and as such, all donation links go to Vendicated's donation link.
-Using Vencord violates Discord's terms of service
+Using Equicord (Vencord+) violates Discord's terms of service
Client modifications are against Discord’s Terms of Service.
-However, Discord is pretty indifferent about them and there are no known cases of users getting banned for using client mods! So you should generally be fine as long as you don’t use any plugins that implement abusive behaviour. But no worries, all inbuilt plugins are safe to use!
+However, Discord is pretty indifferent about them and there are no known cases of users getting banned for using client mods! So you should generally be fine if you don’t use plugins that implement abusive behaviour. But no worries, all inbuilt plugins are safe to use!
-Regardless, if your account is very important to you and it getting disabled would be a disaster for you, you should probably not use any client mods (not exclusive to Vencord), just to be safe
+Regardless, if your account is essential to you and getting disabled would be a disaster for you, you should probably not use any client mods (not exclusive to Equicord), just to be safe
-Additionally, make sure not to post screenshots with Vencord in a server where you might get banned for it
+Additionally, make sure not to post screenshots with Equicord in a server where you might get banned for it
+
+Plugins may take time to be added as I am not on all of the time because of school and stuff.
diff --git a/browser/VencordNativeStub.ts b/browser/VencordNativeStub.ts
index 77c72369..ea3d1cb5 100644
--- a/browser/VencordNativeStub.ts
+++ b/browser/VencordNativeStub.ts
@@ -25,7 +25,7 @@ import * as DataStore from "../src/api/DataStore";
import { debounce } from "../src/utils";
import { EXTENSION_BASE_URL } from "../src/utils/web-metadata";
import { getTheme, Theme } from "../src/utils/discord";
-import { getThemeInfo } from "../src/main/themes";
+import { getThemeInfo } from "../src/utils/themes/bd";
import { Settings } from "../src/Vencord";
// Discord deletes this so need to store in variable
@@ -47,7 +47,7 @@ window.VencordNative = {
deleteTheme: (fileName: string) => DataStore.del(fileName, themeStore),
getThemesDir: async () => "",
getThemesList: () => DataStore.entries(themeStore).then(entries =>
- entries.map(([name, css]) => getThemeInfo(css, name.toString()))
+ entries.map(([name, css]) => ({ fileName: name as string, content: css }))
),
getThemeData: (fileName: string) => DataStore.get(fileName, themeStore),
getSystemValues: async () => ({}),
@@ -59,7 +59,7 @@ window.VencordNative = {
},
updater: {
- getRepo: async () => ({ ok: true, value: "https://github.com/Vendicated/Vencord" }),
+ getRepo: async () => ({ ok: true, value: "https://github.com/Equicord/Equicord" }),
getUpdates: async () => ({ ok: true, value: [] }),
update: async () => ({ ok: true, value: false }),
rebuild: async () => ({ ok: true, value: true }),
diff --git a/browser/icon.png b/browser/icon.png
index dae93c6194119ffd532ba990e73d2be4c64cdce2..15ec35a4662daaec824816925b2cfce432519169 100644
GIT binary patch
literal 7720
zcmV+@9@pWCP)C00093P)t-sM{rCU
zUSJ$DGY1(R3m+gQZEG1UEd~$~1`rYg2@6$MR|F3d6IE0YKtl2I^B-7PSiZlIl9DHH
zayW*G1`!f5gM{nr>n2T0Y|zqhaBwk-jPdgFR>{wTC8rC+_gJ(->N_V!G#xG8LHPqV2?rl>Q9e?*_6G=zjEadJhGi^j&sT)4P!%Ffc%
z)79A8hl+}8Z*Mf1l~T&T!NI{Nb8uO*vsAIKX2-y6)7O51fB#=&t=!x
zo}Zpao0XWEm`AFpLwPzbi&5DxwzZ%
z@siNYoWsSf-QkAU%yFNh|NsAA;^_bX{$1nfUg79n|T;t|l-{}7T|61eaTjc8g{{C6v=vv_BUE<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ANij#^_Qmkan-m4YHG
ziRYB+I<(LFSD~`CAa{^zn!*nk6k9njLOoM*a`J6Pg+xz7Xe}Ch
zBtb#NX0+vVUfhF2jF)VZS>##?MUac@hrpLxWTxa7`}PzQ^JVs;V)J3Cl3GB&UYceu
zF0#w`;+OIARmjP;78M(e4k$wPp&khd4~kTWwxGDkn#&OLpZ;-|1?eK^3!%t_*~8TZq{x}
zJJ99Ea^GRf`MLPah4J@g{RbYgjuDNvTjQVT(gjI8+|HV;sy0;53Rrr+&3&E9<)8dq
zn_d-gwxsC!TyDj8mtb*`2AP{0CJT}nHs(gT4BFM`vH^U1vMpV$N!LNxg-1gbS47uo
zXd+yuv8*7YH-OE!yjDguas$|UIIo$Gjv50@BfBhKEEbHU051PjSpWj7EJZ<7$i&Y8WyLvZa-#DpVI#Dh+Mc
z1-YK{x_Yb2sOtVDgK+l`<=3!HJ8U(`TFl5na}6L3@cYwoE|5-ilHaq<@@KCPn?}6*
zIv@AxE4`lj|G)1?_T=T^>KStk!(~B#KF}fWb;O?8KS2#*G+W^vgO#elJFx1j5
z9pzk_Sg4be6SSQRr$Pm{_en1`1|Fk9Zz;u>-88s
zj1!n%a~&vvn2;E7Zb|9eeU;!56Sz@tE_G%jle+s>mJ$_%xGu0_*%1^#OiUJ(O9^aq
ze_0%6QBTMQpN#EN^sXxPI4kp38|QKO$pS4lojKfj!3nTMrUWIBlE|yV_!9-BFSkfdYtW|ECIwl#mN3
zfS7)MtfR6LasdSp)7l~emDDFzsbsMo6aWAK00000004lB+yiyg8!#VHJx>4t002ov
JPDHLkV1fj&>l*+7
diff --git a/browser/manifest.json b/browser/manifest.json
index 69bf0cec..731a7879 100644
--- a/browser/manifest.json
+++ b/browser/manifest.json
@@ -1,38 +1,43 @@
{
"manifest_version": 3,
"minimum_chrome_version": "91",
-
- "name": "Vencord Web",
- "description": "The cutest Discord mod now in your browser",
- "author": "Vendicated",
- "homepage_url": "https://github.com/Vendicated/Vencord",
+ "name": "Equicord Web",
+ "description": "The other cutest Discord mod now in your browser",
+ "author": "Thororen",
+ "homepage_url": "https://github.com/Equicord/Equicord",
"icons": {
"128": "icon.png"
},
-
"host_permissions": [
"*://*.discord.com/*",
"https://raw.githubusercontent.com/*"
],
-
- "permissions": ["declarativeNetRequest"],
-
+ "permissions": [
+ "declarativeNetRequest"
+ ],
"content_scripts": [
{
"run_at": "document_start",
- "matches": ["*://*.discord.com/*"],
- "js": ["content.js"],
+ "matches": [
+ "*://*.discord.com/*"
+ ],
+ "js": [
+ "content.js"
+ ],
"all_frames": true
}
],
-
"web_accessible_resources": [
{
- "resources": ["dist/*", "third-party/*"],
- "matches": ["*://*.discord.com/*"]
+ "resources": [
+ "dist/*",
+ "third-party/*"
+ ],
+ "matches": [
+ "*://*.discord.com/*"
+ ]
}
],
-
"declarative_net_request": {
"rule_resources": [
{
@@ -42,4 +47,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/browser/manifestv2.json b/browser/manifestv2.json
index 3cac9450..8d2d17e7 100644
--- a/browser/manifestv2.json
+++ b/browser/manifestv2.json
@@ -1,41 +1,44 @@
{
"manifest_version": 2,
"minimum_chrome_version": "91",
-
- "name": "Vencord Web",
- "description": "The cutest Discord mod now in your browser",
- "author": "Vendicated",
- "homepage_url": "https://github.com/Vendicated/Vencord",
+ "name": "Equicord Web",
+ "description": "The other cutest Discord mod now in your browser",
+ "author": "Thororen",
+ "homepage_url": "https://github.com/Equicord/Equicord",
"icons": {
"128": "icon.png"
},
-
"permissions": [
"webRequest",
"webRequestBlocking",
"*://*.discord.com/*",
"https://raw.githubusercontent.com/*"
],
-
"content_scripts": [
{
"run_at": "document_start",
- "matches": ["*://*.discord.com/*"],
- "js": ["content.js"],
+ "matches": [
+ "*://*.discord.com/*"
+ ],
+ "js": [
+ "content.js"
+ ],
"all_frames": true
}
],
-
"background": {
- "scripts": ["background.js"]
+ "scripts": [
+ "background.js"
+ ]
},
-
- "web_accessible_resources": ["dist/Vencord.js", "dist/Vencord.css"],
-
+ "web_accessible_resources": [
+ "dist/Vencord.js",
+ "dist/Vencord.css"
+ ],
"browser_specific_settings": {
"gecko": {
- "id": "vencord-firefox@vendicated.dev",
+ "id": "Equicord@equicord.patrickdk.com",
"strict_min_version": "91.0"
}
}
-}
+}
\ No newline at end of file
diff --git a/browser/monacoWin.html b/browser/monacoWin.html
index a55b0e54..3a6eaa57 100644
--- a/browser/monacoWin.html
+++ b/browser/monacoWin.html
@@ -1,37 +1,39 @@
-
-
- Vencord QuickCSS Editor
-
-
-
-
+
+
+ Equicord QuickCSS Editor
+
+
-
-
-
+ const style = document.createElement("link");
+ style.type = "text/css";
+ style.rel = "stylesheet";
+ style.href = new URL("/dist/monaco/index.css", baseUrl);
+
+ document.body.append(style, script);
+
+