Compare commits
1 Commits
v1.4.1
...
testing_ha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bdabf68c9b |
@@ -183,21 +183,14 @@ setInterval(() => {
|
||||
el.appendChild(div);
|
||||
}
|
||||
|
||||
const buttonContainer = document.getElementsByClassName("container-YkUktl")[0];
|
||||
if (!buttonContainer) {
|
||||
console.log('dsa: Cannot locate Mute/Deafen/Settings button container, please report this on GitHub');
|
||||
}
|
||||
|
||||
const muteBtn = buttonContainer ? buttonContainer.getElementsByClassName(
|
||||
const muteBtn = document.getElementsByClassName(
|
||||
"button-12Fmur enabled-9OeuTA button-f2h6uQ lookBlank-21BCro colorBrand-I6CyqQ grow-2sR_-F"
|
||||
)[0] : null;
|
||||
window.discordScreenaudioToggleMute = () => muteBtn && muteBtn.click();
|
||||
|
||||
const deafenBtn = buttonContainer ? buttonContainer.getElementsByClassName(
|
||||
)[0];
|
||||
window.discordScreenaudioToggleMute = () => muteBtn.click();
|
||||
const deafenBtn = document.getElementsByClassName(
|
||||
"button-12Fmur enabled-9OeuTA button-f2h6uQ lookBlank-21BCro colorBrand-I6CyqQ grow-2sR_-F"
|
||||
)[1] : null;
|
||||
|
||||
window.discordScreenaudioToggleDeafen = () => deafenBtn && deafenBtn.click();
|
||||
)[1];
|
||||
window.discordScreenaudioToggleDeafen = () => deafenBtn.click();
|
||||
|
||||
if (window.discordScreenaudioResolutionString) {
|
||||
for (const el of document.getElementsByClassName(
|
||||
|
||||
@@ -38,6 +38,8 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS",
|
||||
"--ignore-gpu-blacklist --enable-gpu-rasterization "
|
||||
"--enable-native-gpu-memory-buffers --num-raster-threads=4 "
|
||||
"--enable-features=WebRTCPipeWireCapturer " +
|
||||
qgetenv("QTWEBENGINE_CHROMIUM_FLAGS"));
|
||||
|
||||
|
||||
1
submodules/Vencord
Submodule
1
submodules/Vencord
Submodule
Submodule submodules/Vencord added at 0d996633f2
Reference in New Issue
Block a user