From 5fac8be0ae68cbbdf3514973cbf925a31a765ef5 Mon Sep 17 00:00:00 2001 From: Ven Date: Sun, 23 Oct 2022 23:23:52 +0200 Subject: Vencord Standalone without git/node (#148) --- src/components/Monaco.ts | 2 +- src/components/PluginSettings/index.tsx | 2 +- src/components/Settings.tsx | 1 - src/components/Updater.tsx | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/components') 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 . */ -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 . */ -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 ( 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 . */ -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"; -- cgit