mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-28 03:07:54 -04:00
discordDesktop restriction
This commit is contained in:
parent
cc756ae94a
commit
f4ec4b2c48
98 changed files with 25 additions and 27 deletions
|
@ -31,8 +31,8 @@ import {
|
|||
SettingsModalProfilesCard,
|
||||
validateNumberInput,
|
||||
validateTextInputNumber
|
||||
} from "../../philsPluginLibrary.desktop";
|
||||
import { Styles } from "../../philsPluginLibrary.desktop/styles";
|
||||
} from "../../philsPluginLibrary.discordDesktop";
|
||||
import { Styles } from "../../philsPluginLibrary.discordDesktop/styles";
|
||||
import { MicrophoneProfile, MicrophoneStore } from "../stores";
|
||||
|
||||
const simpleVoiceBitrates: readonly SelectOption[] = [
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import { Devs } from "@utils/constants";
|
||||
|
||||
import { types } from "../../philsPluginLibrary.desktop";
|
||||
import { types } from "../../philsPluginLibrary.discordDesktop";
|
||||
|
||||
export const PluginInfo = {
|
||||
PLUGIN_NAME: "BetterMicrophone",
|
|
@ -19,7 +19,7 @@
|
|||
import { Devs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
||||
import { addSettingsPanelButton, Emitter, MicrophoneSettingsIcon, removeSettingsPanelButton } from "../philsPluginLibrary.desktop";
|
||||
import { addSettingsPanelButton, Emitter, MicrophoneSettingsIcon, removeSettingsPanelButton } from "../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "./constants";
|
||||
import { openMicrophoneSettingsModal } from "./modals";
|
||||
import { MicrophonePatcher } from "./patchers";
|
|
@ -16,8 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Emitter, MediaEngineStore, Patcher, types } from "../../philsPluginLibrary.desktop";
|
||||
import { patchConnectionAudioTransportOptions } from "../../philsPluginLibrary.desktop/patches/audio";
|
||||
import { Emitter, MediaEngineStore, Patcher, types } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { patchConnectionAudioTransportOptions } from "../../philsPluginLibrary.discordDesktop/patches/audio";
|
||||
import { PluginInfo } from "../constants";
|
||||
import { logger } from "../logger";
|
||||
import { microphoneStore } from "../stores";
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.desktop";
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "../constants";
|
||||
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
import { Select, useEffect, useState } from "@webpack/common";
|
||||
import React from "react";
|
||||
|
||||
import { MediaEngineStore, types } from "../../philsPluginLibrary.desktop";
|
||||
import { MediaEngineStore, types } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { screenshareStore } from "../stores";
|
||||
|
||||
export const AudioSourceSelect = (props?: typeof Select["defaultProps"]) => {
|
|
@ -31,8 +31,8 @@ import {
|
|||
SettingsModalProfilesCard,
|
||||
validateNumberInput,
|
||||
validateTextInputNumber
|
||||
} from "../../philsPluginLibrary.desktop";
|
||||
import { Styles } from "../../philsPluginLibrary.desktop/styles";
|
||||
} from "../../philsPluginLibrary.discordDesktop";
|
||||
import { Styles } from "../../philsPluginLibrary.discordDesktop/styles";
|
||||
import { MicrophoneProfile, MicrophoneStore } from "../stores";
|
||||
|
||||
const simpleVoiceBitrates: readonly SelectOption[] = [
|
|
@ -34,11 +34,11 @@ import {
|
|||
types,
|
||||
validateNumberInput,
|
||||
validateTextInputNumber
|
||||
} from "../../philsPluginLibrary.desktop";
|
||||
import { Styles } from "../../philsPluginLibrary.desktop/styles";
|
||||
import { MicrophoneSettingsModal } from "../components";
|
||||
} from "../../philsPluginLibrary.discordDesktop";
|
||||
import { Styles } from "../../philsPluginLibrary.discordDesktop/styles";
|
||||
import { PluginInfo } from "../constants";
|
||||
import { ScreenshareAudioProfile, ScreenshareAudioStore, ScreenshareProfile, ScreenshareStore } from "../stores";
|
||||
import { MicrophoneSettingsModal } from ".";
|
||||
|
||||
const simpleResolutions: readonly (SelectOption & { value: types.Resolution; })[] = [
|
||||
{
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import { Devs } from "@utils/constants";
|
||||
|
||||
import { types } from "../../philsPluginLibrary.desktop";
|
||||
import { types } from "../../philsPluginLibrary.discordDesktop";
|
||||
|
||||
export const PluginInfo = {
|
||||
PLUGIN_NAME: "BetterScreenshare",
|
|
@ -19,7 +19,7 @@
|
|||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
||||
import { addSettingsPanelButton, Emitter, removeSettingsPanelButton, ScreenshareSettingsIcon } from "../philsPluginLibrary.desktop";
|
||||
import { addSettingsPanelButton, Emitter, removeSettingsPanelButton, ScreenshareSettingsIcon } from "../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "./constants";
|
||||
import { openScreenshareModal } from "./modals";
|
||||
import { ScreenshareAudioPatcher, ScreensharePatcher } from "./patchers";
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
import { UserStore } from "@webpack/common";
|
||||
|
||||
import { Emitter, MediaEngineStore, Patcher, types } from "../../philsPluginLibrary.desktop";
|
||||
import { patchConnectionVideoSetDesktopSourceWithOptions, patchConnectionVideoTransportOptions } from "../../philsPluginLibrary.desktop/patches/video";
|
||||
import { Emitter, MediaEngineStore, Patcher, types } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { patchConnectionVideoSetDesktopSourceWithOptions, patchConnectionVideoTransportOptions } from "../../philsPluginLibrary.discordDesktop/patches/video";
|
||||
import { PluginInfo } from "../constants";
|
||||
import { logger } from "../logger";
|
||||
import { screenshareStore } from "../stores";
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import { UserStore } from "@webpack/common";
|
||||
|
||||
import { Emitter, MediaEngineStore, patchConnectionAudioTransportOptions, Patcher, types } from "../../philsPluginLibrary.desktop";
|
||||
import { Emitter, MediaEngineStore, patchConnectionAudioTransportOptions, Patcher, types } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "../constants";
|
||||
import { logger } from "../logger";
|
||||
import { screenshareAudioStore } from "../stores/screenshareAudioStore";
|
|
@ -20,7 +20,7 @@ import { Flex } from "@components/Flex";
|
|||
import { React } from "@webpack/common";
|
||||
import { Settings } from "Vencord";
|
||||
|
||||
import { SettingsModalCard, SettingsModalCardItem } from "../../philsPluginLibrary.desktop";
|
||||
import { SettingsModalCard, SettingsModalCardItem } from "../../philsPluginLibrary.discordDesktop";
|
||||
import Plugin from "..";
|
||||
import { AudioSourceSelect, OpenScreenshareSettingsButton } from "../components";
|
||||
import { PluginInfo } from "../constants";
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.desktop";
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "../constants";
|
||||
|
||||
|
|
@ -16,14 +16,14 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { createPluginStore, ProfilableStore, profileable } from "../../philsPluginLibrary.desktop";
|
||||
import { createPluginStore, ProfilableStore, profileable } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "../constants";
|
||||
import {
|
||||
defaultMicrophoneProfiles as defaultScreenshareAudioProfiles,
|
||||
MicrophoneProfile as ScreenshareAudioProfile,
|
||||
MicrophoneStore as ScreenshareAudioStore,
|
||||
microphoneStoreDefault as screenshareAudioStoreDefault
|
||||
} from "../stores";
|
||||
} from ".";
|
||||
|
||||
export let screenshareAudioStore: ProfilableStore<ScreenshareAudioStore, ScreenshareAudioProfile>;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.desktop";
|
||||
import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.discordDesktop";
|
||||
import { PluginInfo } from "../constants";
|
||||
|
||||
|
|
@ -17,7 +17,5 @@
|
|||
*/
|
||||
|
||||
export * from "./audio";
|
||||
export * from "../store/screenshareAudioStore";
|
||||
export * from "../store/screenshareStore";
|
||||
export * from "./userPanel";
|
||||
export * from "./video";
|
|
@ -16,8 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
export * from "../store/screenshareAudioStore";
|
||||
export * from "../store/screenshareStore";
|
||||
export * from "./microphoneStore";
|
||||
export * from "./profileable";
|
||||
export * from "./screenshareAudioStore";
|
||||
export * from "./screenshareStore";
|
||||
export * from "./store";
|
Loading…
Add table
Reference in a new issue