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