diff options
author | Ven <vendicated@riseup.net> | 2022-10-23 23:23:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 23:23:52 +0200 |
commit | 5fac8be0ae68cbbdf3514973cbf925a31a765ef5 (patch) | |
tree | 8c184e0a2a9c8f4480e4c3880a58833e089a3da6 /src/ipcMain/index.ts | |
parent | ffbb52512cd61764cfe04c1cf2707eb63d5e57bf (diff) | |
download | Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.gz Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.bz2 Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.zip |
Vencord Standalone without git/node (#148)
Diffstat (limited to 'src/ipcMain/index.ts')
-rw-r--r-- | src/ipcMain/index.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ipcMain/index.ts b/src/ipcMain/index.ts index 958728a..8a60bc6 100644 --- a/src/ipcMain/index.ts +++ b/src/ipcMain/index.ts @@ -18,19 +18,18 @@ import "./updater"; -import monacoHtml from "@fileContent/../components/monacoWin.html;base64"; -import { app, BrowserWindow, desktopCapturer, ipcMain, shell } from "electron"; +import { BrowserWindow, desktopCapturer, ipcMain, shell } from "electron"; import { mkdirSync, readFileSync, watch } from "fs"; import { open, readFile, writeFile } from "fs/promises"; import { join } from "path"; +import monacoHtml from "~fileContent/../components/monacoWin.html;base64"; + import { debounce } from "../utils/debounce"; import IpcEvents from "../utils/IpcEvents"; import { Queue } from "../utils/Queue"; import { ALLOWED_PROTOCOLS, QUICKCSS_PATH, SETTINGS_DIR, SETTINGS_FILE } from "./constants"; - - mkdirSync(SETTINGS_DIR, { recursive: true }); function readCss() { |