aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-23 23:23:52 +0200
committerGitHub <noreply@github.com>2022-10-23 23:23:52 +0200
commit5fac8be0ae68cbbdf3514973cbf925a31a765ef5 (patch)
tree8c184e0a2a9c8f4480e4c3880a58833e089a3da6 /src/components
parentffbb52512cd61764cfe04c1cf2707eb63d5e57bf (diff)
downloadVencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.gz
Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.bz2
Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.zip
Vencord Standalone without git/node (#148)
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Monaco.ts2
-rw-r--r--src/components/PluginSettings/index.tsx2
-rw-r--r--src/components/Settings.tsx1
-rw-r--r--src/components/Updater.tsx4
4 files changed, 4 insertions, 5 deletions
diff --git a/src/components/Monaco.ts b/src/components/Monaco.ts
index 33f5545..e147159 100644
--- a/src/components/Monaco.ts
+++ b/src/components/Monaco.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import monacoHtml from "@fileContent/monacoWin.html";
+import monacoHtml from "~fileContent/monacoWin.html";
import { IpcEvents } from "../utils";
import { debounce } from "../utils/debounce";
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx
index 578c0e0..6ad9750 100644
--- a/src/components/PluginSettings/index.tsx
+++ b/src/components/PluginSettings/index.tsx
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import Plugins from "plugins";
+import Plugins from "~plugins";
import { showNotice } from "../../api/Notices";
import { Settings, useSettings } from "../../api/settings";
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 8ffe111..e720c6f 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -50,7 +50,6 @@ export default ErrorBoundary.wrap(function Settings() {
}));
}, []);
-
return (
<Forms.FormSection tag="h1" title="Vencord">
<Forms.FormTitle tag="h5">
diff --git a/src/components/Updater.tsx b/src/components/Updater.tsx
index 21ae6a3..a11d65b 100644
--- a/src/components/Updater.tsx
+++ b/src/components/Updater.tsx
@@ -16,10 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import gitHash from "git-hash";
+import gitHash from "~git-hash";
import { classes, useAwaiter } from "../utils/misc";
-import { changes, checkForUpdates, getRepo, isNewer,isOutdated, rebuild, update, updateError, UpdateLogger } from "../utils/updater";
+import { changes, checkForUpdates, getRepo, isNewer, rebuild, update, updateError, UpdateLogger } from "../utils/updater";
import { Alerts, Button, Card, Forms, Margins, Parser, React, Toasts } from "../webpack/common";
import ErrorBoundary from "./ErrorBoundary";
import { ErrorCard } from "./ErrorCard";