14 lines
487 B
TypeScript
14 lines
487 B
TypeScript
/*
|
|
* SPDX-License-Identifier: GPL-3.0
|
|
* Modified for Aerocord, originally part of Vesktop, a desktop app aiming to give you a snappier Discord Experience
|
|
* Copyright (c) 2024-2024 Aiek
|
|
* Copyright (c) 2024 RandomServer Community
|
|
* Copyright (c) 2023 Vendicated and Vencord contributors
|
|
*/
|
|
|
|
import "./utils/dotenv";
|
|
|
|
import { spawnNodeModuleBin } from "./utils/spawn.mjs";
|
|
|
|
spawnNodeModuleBin("electron", [process.cwd(), ...(process.env.ELECTRON_LAUNCH_FLAGS?.split(" ") ?? [])]);
|