From 94606a3a5d64a862f45fabdbbbfcb66deffa0a8f Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Thu, 18 Jul 2024 00:56:51 -0400
Subject: [PATCH] Fixes
---
src/equicordplugins/betterScreenshare.dev/index.tsx | 4 ++--
src/equicordplugins/philsPluginLibrary/index.tsx | 4 ++--
src/utils/constants.ts | 4 ++++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/equicordplugins/betterScreenshare.dev/index.tsx b/src/equicordplugins/betterScreenshare.dev/index.tsx
index e0b74539..0002b105 100644
--- a/src/equicordplugins/betterScreenshare.dev/index.tsx
+++ b/src/equicordplugins/betterScreenshare.dev/index.tsx
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-import { Devs } from "@utils/constants";
+import { Devs, EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
import { addSettingsPanelButton, Emitter, removeSettingsPanelButton, ScreenshareSettingsIcon } from "../philsPluginLibrary";
@@ -32,7 +32,7 @@ var screenshareAudioPatcher;
export default definePlugin({
name: "PhilsBetterScreenshare",
description: "This plugin allows you to further customize your screen sharing.",
- authors: [Devs.philhk, Devs.walrus],
+ authors: [Devs.philhk, EquicordDevs.walrus],
dependencies: ["PhilsPluginLibrary"],
replacedScreenshareModalComponent: replacedScreenshareModalComponent,
diff --git a/src/equicordplugins/philsPluginLibrary/index.tsx b/src/equicordplugins/philsPluginLibrary/index.tsx
index 46b211a5..eda80c28 100644
--- a/src/equicordplugins/philsPluginLibrary/index.tsx
+++ b/src/equicordplugins/philsPluginLibrary/index.tsx
@@ -31,8 +31,8 @@ export default definePlugin({
{
find: "Messages.ACCOUNT_A11Y_LABEL",
replacement: {
- match: /(?<=function)( .{0,8}(?={).)(.{0,1000}isFullscreenInContext\(\).+?\)]}\))(})/,
- replace: "$1return $self.replacedUserPanelComponent(function(){$2}, this, arguments)$3"
+ match: /(?<=function)( \i\i\(\i\)(?={).)(.{0,1000}\i\.\i\.isFullscreenInContext\(\).+?\)]}\))\}/,
+ replace: "$1 return $self.replacedUserPanelComponent(function(){$2}, this, arguments)}"
}
}
],
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 8ececcee..5051c62e 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -675,6 +675,10 @@ export const EquicordDevs = Object.freeze({
name: "colorman",
id: 298842558610800650n,
},
+ walrus: {
+ name: "walrus",
+ id: 305317288775778306n,
+ },
} satisfies Record);
export const SuncordDevs = /* #__PURE__*/ Object.freeze({