mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
Armcord -> Legcord
This commit is contained in:
parent
ebde2663d1
commit
d9740a6989
2 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ function ThemesTab() {
|
||||||
for (const { fileName, content } of themes) {
|
for (const { fileName, content } of themes) {
|
||||||
if (!fileName.endsWith(".css")) continue;
|
if (!fileName.endsWith(".css")) continue;
|
||||||
|
|
||||||
if ((!IS_WEB || "armcord" in window) && fileName.endsWith(".user.css")) {
|
if ((!IS_WEB || "legcord" in window) && fileName.endsWith(".user.css")) {
|
||||||
// handle it as usercss
|
// handle it as usercss
|
||||||
const header = await usercssParse(content, fileName);
|
const header = await usercssParse(content, fileName);
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ async function generateDebugInfoMessage() {
|
||||||
if (IS_DISCORD_DESKTOP) return `Discord Desktop v${DiscordNative.app.getVersion()}`;
|
if (IS_DISCORD_DESKTOP) return `Discord Desktop v${DiscordNative.app.getVersion()}`;
|
||||||
if (IS_VESKTOP) return `Vesktop v${VesktopNative.app.getVersion()}`;
|
if (IS_VESKTOP) return `Vesktop v${VesktopNative.app.getVersion()}`;
|
||||||
if (IS_EQUIBOP) return `Equibop v${VesktopNative.app.getVersion()}`;
|
if (IS_EQUIBOP) return `Equibop v${VesktopNative.app.getVersion()}`;
|
||||||
if ("legcord" in window) return `LegCord v${window.armcord.version}`;
|
if ("legcord" in window) return `LegCord v${window.legcord.version}`;
|
||||||
|
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
const name = typeof unsafeWindow !== "undefined" ? "UserScript" : "Web";
|
const name = typeof unsafeWindow !== "undefined" ? "UserScript" : "Web";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue