Skip to content

Commit

Permalink
Fix: Discord re-rolling Webpack modules
Browse files Browse the repository at this point in the history
- Fixes the definition of the StorageModule in Discord's webpack.
  Otherwise the VFS would be stuck during initialization due to an
  exception, thus preventing the loading of BetterDiscord.
  • Loading branch information
tsukasa committed Mar 28, 2024
1 parent 52c03bd commit 0ce02b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_extName__",
"version": "1.10.0.20240315",
"version": "1.10.1.20240328",
"description": "__MSG_extDesc__",
"homepage_url": "https://github.com/tsukasa/BdBrowser",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/discordmodules.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export default {
get RouterModule() {return Webpack.getByProps("listeners", "rewrites", "flushRoute");},

/* Other Utils */
get StorageModule() {return Webpack.getByProps("get", "set", "clear", "stringify");}
get StorageModule() {return Webpack.getByProps("ObjectStorage", "impl")?.impl;}
};

0 comments on commit 0ce02b9

Please sign in to comment.