mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
Plugin Warning For NeverPausePreviews
This commit is contained in:
parent
67264460dc
commit
c3b5654900
1 changed files with 6 additions and 0 deletions
|
@ -18,11 +18,17 @@
|
||||||
|
|
||||||
import { EquicordDevs } from "@utils/constants";
|
import { EquicordDevs } from "@utils/constants";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
|
import { Forms } from "@webpack/common";
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "NeverPausePreviews",
|
name: "NeverPausePreviews",
|
||||||
description: "Prevents in-call/PiP previews (screenshare, streams, etc) from pausing even if the client loses focus",
|
description: "Prevents in-call/PiP previews (screenshare, streams, etc) from pausing even if the client loses focus",
|
||||||
authors: [EquicordDevs.vappstar],
|
authors: [EquicordDevs.vappstar],
|
||||||
|
settingsAboutComponent: () => <>
|
||||||
|
<Forms.FormText className="platform-warning">
|
||||||
|
This plugin will cause discord to use more resources than normal.
|
||||||
|
</Forms.FormText>
|
||||||
|
</>,
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "streamerPaused()",
|
find: "streamerPaused()",
|
Loading…
Reference in a new issue