From cc756ae94af446bb19e536d131a71cb1b132e2fd Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Thu, 18 Jul 2024 01:28:14 -0400
Subject: [PATCH] More Fixes
---
.../philsPluginLibrary.desktop/patches/index.ts | 4 ++--
.../philsPluginLibrary.desktop/patches/video.ts | 2 +-
src/equicordplugins/philsPluginLibrary.desktop/store/index.ts | 2 ++
.../{patches => store}/screenshareAudioStore.ts | 4 ++--
.../{patches => store}/screenshareStore.ts | 2 +-
5 files changed, 8 insertions(+), 6 deletions(-)
rename src/equicordplugins/philsPluginLibrary.desktop/{patches => store}/screenshareAudioStore.ts (96%)
rename src/equicordplugins/philsPluginLibrary.desktop/{patches => store}/screenshareStore.ts (98%)
diff --git a/src/equicordplugins/philsPluginLibrary.desktop/patches/index.ts b/src/equicordplugins/philsPluginLibrary.desktop/patches/index.ts
index fc88bc0f..798f6ac9 100644
--- a/src/equicordplugins/philsPluginLibrary.desktop/patches/index.ts
+++ b/src/equicordplugins/philsPluginLibrary.desktop/patches/index.ts
@@ -17,7 +17,7 @@
*/
export * from "./audio";
-export * from "./screenshareAudioStore";
-export * from "./screenshareStore";
+export * from "../store/screenshareAudioStore";
+export * from "../store/screenshareStore";
export * from "./userPanel";
export * from "./video";
diff --git a/src/equicordplugins/philsPluginLibrary.desktop/patches/video.ts b/src/equicordplugins/philsPluginLibrary.desktop/patches/video.ts
index 0d012d6e..5c24fa52 100644
--- a/src/equicordplugins/philsPluginLibrary.desktop/patches/video.ts
+++ b/src/equicordplugins/philsPluginLibrary.desktop/patches/video.ts
@@ -20,7 +20,7 @@ import { Logger } from "@utils/Logger";
import { lodash } from "@webpack/common";
import { ProfilableStore, replaceObjectValuesIfExist, types, utils } from "..";
-import { ScreenshareProfile, ScreenshareStore } from ".";
+import { ScreenshareProfile, ScreenshareStore } from "../store";
export function getDefaultVideoTransportationOptions(connection: types.Connection) {
diff --git a/src/equicordplugins/philsPluginLibrary.desktop/store/index.ts b/src/equicordplugins/philsPluginLibrary.desktop/store/index.ts
index fea8f3bf..a77ca48e 100644
--- a/src/equicordplugins/philsPluginLibrary.desktop/store/index.ts
+++ b/src/equicordplugins/philsPluginLibrary.desktop/store/index.ts
@@ -16,6 +16,8 @@
* along with this program. If not, see .
*/
+export * from "../store/screenshareAudioStore";
+export * from "../store/screenshareStore";
export * from "./microphoneStore";
export * from "./profileable";
export * from "./store";
diff --git a/src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareAudioStore.ts b/src/equicordplugins/philsPluginLibrary.desktop/store/screenshareAudioStore.ts
similarity index 96%
rename from src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareAudioStore.ts
rename to src/equicordplugins/philsPluginLibrary.desktop/store/screenshareAudioStore.ts
index d1c25621..a667a791 100644
--- a/src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareAudioStore.ts
+++ b/src/equicordplugins/philsPluginLibrary.desktop/store/screenshareAudioStore.ts
@@ -16,14 +16,14 @@
* along with this program. If not, see .
*/
-import { createPluginStore, ProfilableStore, profileable } from "../../philsPluginLibrary.desktop";
+import { createPluginStore, ProfilableStore, profileable } from "..";
import { PluginInfo } from "../constants";
import {
defaultMicrophoneProfiles as defaultScreenshareAudioProfiles,
MicrophoneProfile as ScreenshareAudioProfile,
MicrophoneStore as ScreenshareAudioStore,
microphoneStoreDefault as screenshareAudioStoreDefault
-} from "../stores";
+} from ".";
export let screenshareAudioStore: ProfilableStore;
diff --git a/src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareStore.ts b/src/equicordplugins/philsPluginLibrary.desktop/store/screenshareStore.ts
similarity index 98%
rename from src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareStore.ts
rename to src/equicordplugins/philsPluginLibrary.desktop/store/screenshareStore.ts
index 0926d6e7..0e48dd7d 100644
--- a/src/equicordplugins/philsPluginLibrary.desktop/patches/screenshareStore.ts
+++ b/src/equicordplugins/philsPluginLibrary.desktop/store/screenshareStore.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "../../philsPluginLibrary.desktop";
+import { createPluginStore, ProfilableInitializer, ProfilableStore, profileable, ProfileableProfile } from "..";
import { PluginInfo } from "../constants";