mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
This commit is contained in:
parent
48c58a97bc
commit
7a74182add
1 changed files with 9 additions and 1 deletions
|
@ -36,13 +36,21 @@ async function lookupApp(applicationId: string): Promise<string> {
|
||||||
return socket.application;
|
return socket.application;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let hideSetting = false;
|
||||||
|
|
||||||
|
if (IS_VESKTOP || IS_EQUIBOP || "legcord" in window) {
|
||||||
|
hideSetting = true;
|
||||||
|
} else if ("goofcord" in window) {
|
||||||
|
hideSetting = false;
|
||||||
|
}
|
||||||
|
|
||||||
let ws: WebSocket;
|
let ws: WebSocket;
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "WebRichPresence (arRPC)",
|
name: "WebRichPresence (arRPC)",
|
||||||
description: "Client plugin for arRPC to enable RPC on Discord Web (experimental)",
|
description: "Client plugin for arRPC to enable RPC on Discord Web (experimental)",
|
||||||
authors: [Devs.Ducko],
|
authors: [Devs.Ducko],
|
||||||
reporterTestable: ReporterTestable.None,
|
reporterTestable: ReporterTestable.None,
|
||||||
hidden: IS_VESKTOP || "legcord" in window,
|
hidden: hideSetting,
|
||||||
|
|
||||||
settingsAboutComponent: () => (
|
settingsAboutComponent: () => (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue