aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/buildWeb.mjs
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
committerVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
commit7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac (patch)
tree971ac9d2906651500cc6b505f73f92c9666896ef /scripts/build/buildWeb.mjs
parentf92f3f1a5e2aba1ea6d765fd06b8a76217186085 (diff)
downloadVencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.gz
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.bz2
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.zip
fix userscript, lint new files
Diffstat (limited to 'scripts/build/buildWeb.mjs')
-rwxr-xr-x[-rw-r--r--]scripts/build/buildWeb.mjs20
1 files changed, 19 insertions, 1 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs
index 6299398..8abac2c 100644..100755
--- a/scripts/build/buildWeb.mjs
+++ b/scripts/build/buildWeb.mjs
@@ -1,4 +1,22 @@
-// TODO: Modularise the plugins since both build scripts use them
+#!/usr/bin/node
+/*
+ * Vencord, a modification for Discord's desktop app
+ * Copyright (c) 2022 Vendicated and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+*/
+
import { createWriteStream, readFileSync } from "fs";
import yazl from "yazl";