project-client/scripts/start.ts

12 lines
367 B
TypeScript
Raw Normal View History

/*
* SPDX-License-Identifier: GPL-3.0
2023-07-13 17:03:13 +00:00
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
* 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(" ") ?? [])]);