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>
|
<RCC>
|
||||||
<qresource>
|
<qresource>
|
||||||
<file>assets/userscript.js</file>
|
<file>assets/userscript.js</file>
|
||||||
|
<file>assets/vencord.js</file>
|
||||||
<file>assets/de.shorsh.discord-screenaudio.png</file>
|
<file>assets/de.shorsh.discord-screenaudio.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
|
@ -54,8 +54,7 @@ DiscordPage::DiscordPage(QWidget *parent) : QWebEnginePage(parent) {
|
||||||
setUrl(QUrl("https://discord.com/app"));
|
setUrl(QUrl("https://discord.com/app"));
|
||||||
|
|
||||||
injectScriptFile("userscript.js", ":/assets/userscript.js");
|
injectScriptFile("userscript.js", ":/assets/userscript.js");
|
||||||
injectScriptUrl("vencord.js", "https://github.com/Vendicated/Vencord/"
|
injectScriptFile("vencord.js", ":/assets/vencord.js");
|
||||||
"releases/download/devbuild/browser.js");
|
|
||||||
|
|
||||||
injectScriptText("version.js",
|
injectScriptText("version.js",
|
||||||
QString("window.discordScreenaudioVersion = '%1';")
|
QString("window.discordScreenaudioVersion = '%1';")
|
||||||
|
|
Loading…
Reference in New Issue