Upload files to 'scripts'
This commit is contained in:
parent
43c52c0349
commit
69325c1dc9
5
scripts/header.txt
Normal file
5
scripts/header.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0
|
||||||
|
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
|
||||||
|
* Copyright (c) 2023 Vendicated and Vencord contributors
|
||||||
|
*/
|
11
scripts/start.ts
Normal file
11
scripts/start.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0
|
||||||
|
* 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(" ") ?? [])]);
|
10
scripts/startWatch.mts
Normal file
10
scripts/startWatch.mts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0
|
||||||
|
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
|
||||||
|
* Copyright (c) 2023 Vendicated and Vencord contributors
|
||||||
|
*/
|
||||||
|
|
||||||
|
import "./start";
|
||||||
|
|
||||||
|
import { spawnNodeModuleBin } from "./utils/spawn.mjs";
|
||||||
|
spawnNodeModuleBin("tsx", ["scripts/build/build.mts", "--", "--watch", "--dev"]);
|
Reference in New Issue
Block a user