diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-04-05 00:07:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 03:07:17 +0000 |
commit | 38f3aac98d1098a70364366c056e0007f041d1cf (patch) | |
tree | b488f9a04b7d1f53a7591178e0feecf8e3f17693 /src/plugins/volumeBooster.discordDesktop.ts | |
parent | 12ffb9d64276dd36c7e1fd7c184e60448fbf748f (diff) | |
download | Vencord-38f3aac98d1098a70364366c056e0007f041d1cf.tar.gz Vencord-38f3aac98d1098a70364366c056e0007f041d1cf.tar.bz2 Vencord-38f3aac98d1098a70364366c056e0007f041d1cf.zip |
Fix VolumeBooster and improve ContextMenuAPI patch (#793)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/volumeBooster.discordDesktop.ts')
-rw-r--r-- | src/plugins/volumeBooster.discordDesktop.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/volumeBooster.discordDesktop.ts b/src/plugins/volumeBooster.discordDesktop.ts index b77af57..ac11215 100644 --- a/src/plugins/volumeBooster.discordDesktop.ts +++ b/src/plugins/volumeBooster.discordDesktop.ts @@ -56,7 +56,7 @@ export default definePlugin({ find: "AudioContextSettingsMigrated", replacement: [ { - match: /(?<=updateAsync\("audioContextSettings".{0,350}return \i\.volume=)\i(?=})/, + match: /(?<=isLocalMute\(\i,\i\),volume:.+?volume:)\i(?=})/, replace: "$&>200?200:$&" }, { |