testing vencord
This commit is contained in:
parent
27cdd9f9a5
commit
f750b76068
File diff suppressed because one or more lines are too long
|
@ -2,6 +2,7 @@
|
|||
<RCC>
|
||||
<qresource>
|
||||
<file>assets/userscript.js</file>
|
||||
<file>assets/vencord.js</file>
|
||||
<file>assets/de.shorsh.discord-screenaudio.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -54,8 +54,7 @@ DiscordPage::DiscordPage(QWidget *parent) : QWebEnginePage(parent) {
|
|||
setUrl(QUrl("https://discord.com/app"));
|
||||
|
||||
injectScriptFile("userscript.js", ":/assets/userscript.js");
|
||||
injectScriptUrl("vencord.js", "https://github.com/Vendicated/Vencord/"
|
||||
"releases/download/devbuild/browser.js");
|
||||
injectScriptFile("vencord.js", ":/assets/vencord.js");
|
||||
|
||||
injectScriptText("version.js",
|
||||
QString("window.discordScreenaudioVersion = '%1';")
|
||||
|
|
Loading…
Reference in New Issue