mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 05:42:55 -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;
|
||||
}
|
||||
|
||||
let hideSetting = false;
|
||||
|
||||
if (IS_VESKTOP || IS_EQUIBOP || "legcord" in window) {
|
||||
hideSetting = true;
|
||||
} else if ("goofcord" in window) {
|
||||
hideSetting = false;
|
||||
}
|
||||
|
||||
let ws: WebSocket;
|
||||
export default definePlugin({
|
||||
name: "WebRichPresence (arRPC)",
|
||||
description: "Client plugin for arRPC to enable RPC on Discord Web (experimental)",
|
||||
authors: [Devs.Ducko],
|
||||
reporterTestable: ReporterTestable.None,
|
||||
hidden: IS_VESKTOP || "legcord" in window,
|
||||
hidden: hideSetting,
|
||||
|
||||
settingsAboutComponent: () => (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue