aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCloudburst <18114966+C10udburst@users.noreply.github.com>2022-11-21 16:32:56 +0100
committerGitHub <noreply@github.com>2022-11-21 16:32:56 +0100
commitc45d89697af4f2ecd702fb6078d72d125fdbca78 (patch)
treedc30b1334254dbeb634c84f766335105d27128d0
parent0a92bd6521da3159618f08172530f4777902158b (diff)
downloadVencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.tar.gz
Vencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.tar.bz2
Vencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.zip
make userscript autoincrement version :trollface: (#233)
-rwxr-xr-xscripts/build/buildWeb.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs
index f5be651..a4ad87f 100755
--- a/scripts/build/buildWeb.mjs
+++ b/scripts/build/buildWeb.mjs
@@ -62,7 +62,7 @@ await Promise.all(
...commonOptions,
outfile: "dist/Vencord.user.js",
banner: {
- js: readFileSync("browser/userscript.meta.js", "utf-8").replace("%version%", PackageJSON.version)
+ js: readFileSync("browser/userscript.meta.js", "utf-8").replace("%version%", `${PackageJSON.version}.${new Date().getTime()}`)
},
footer: {
// UserScripts get wrapped in an iife, so define Vencord prop on window that returns our local