mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-23 13:27:03 -04:00
style: Sort imports
This commit is contained in:
parent
a7dbd73547
commit
61fd38d6d9
57 changed files with 133 additions and 114 deletions
|
@ -16,8 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { join } from "path";
|
||||
import { app } from "electron";
|
||||
import { join } from "path";
|
||||
|
||||
export const DATA_DIR = process.env.VENCORD_USER_DATA_DIR ?? (
|
||||
process.env.DISCORD_USER_DATA_DIR
|
||||
|
|
|
@ -16,13 +16,14 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import https from "https";
|
||||
import { mkdir, rm, writeFile, access } from "fs/promises";
|
||||
import { constants as fsConstants } from "fs";
|
||||
import { join } from "path";
|
||||
import { DATA_DIR } from "./constants";
|
||||
import { unzip } from "fflate";
|
||||
import { session } from "electron";
|
||||
import { unzip } from "fflate";
|
||||
import { constants as fsConstants } from "fs";
|
||||
import { access,mkdir, rm, writeFile } from "fs/promises";
|
||||
import https from "https";
|
||||
import { join } from "path";
|
||||
|
||||
import { DATA_DIR } from "./constants";
|
||||
import { crxToZip } from "./crxToZip";
|
||||
|
||||
const extensionCacheDir = join(DATA_DIR, "ExtensionCache");
|
||||
|
|
|
@ -16,17 +16,18 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./updater";
|
||||
|
||||
import monacoHtml from "@fileContent/../components/monacoWin.html;base64";
|
||||
import { app, BrowserWindow, desktopCapturer, ipcMain, shell } from "electron";
|
||||
import { mkdirSync, readFileSync, watch } from "fs";
|
||||
import { open, readFile, writeFile } from "fs/promises";
|
||||
import { join } from "path";
|
||||
|
||||
import { debounce } from "../utils/debounce";
|
||||
import IpcEvents from "../utils/IpcEvents";
|
||||
import monacoHtml from "@fileContent/../components/monacoWin.html;base64";
|
||||
|
||||
import "./updater";
|
||||
import { Queue } from "../utils/Queue";
|
||||
import { QUICKCSS_PATH, ALLOWED_PROTOCOLS, SETTINGS_DIR, SETTINGS_FILE } from "./constants";
|
||||
import { ALLOWED_PROTOCOLS, QUICKCSS_PATH, SETTINGS_DIR, SETTINGS_FILE } from "./constants";
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -16,13 +16,14 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { ipcMain } from "electron";
|
||||
import { promisify } from "util";
|
||||
import IpcEvents from "../utils/IpcEvents";
|
||||
import { execFile as cpExecFile } from "child_process";
|
||||
import { join } from "path";
|
||||
import { createReadStream } from "fs";
|
||||
import { createHash } from "crypto";
|
||||
import { ipcMain } from "electron";
|
||||
import { createReadStream } from "fs";
|
||||
import { join } from "path";
|
||||
import { promisify } from "util";
|
||||
|
||||
import IpcEvents from "../utils/IpcEvents";
|
||||
|
||||
const VENCORD_SRC_DIR = join(__dirname, "..");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue