mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fixes
This commit is contained in:
parent
3c4d217312
commit
94606a3a5d
3 changed files with 8 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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,
|
||||
|
||||
|
|
|
@ -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)}"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -675,6 +675,10 @@ export const EquicordDevs = Object.freeze({
|
|||
name: "colorman",
|
||||
id: 298842558610800650n,
|
||||
},
|
||||
walrus: {
|
||||
name: "walrus",
|
||||
id: 305317288775778306n,
|
||||
},
|
||||
} satisfies Record<string, Dev>);
|
||||
|
||||
export const SuncordDevs = /* #__PURE__*/ Object.freeze({
|
||||
|
|
Loading…
Reference in a new issue