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