diff options
author | Cloudburst <18114966+C10udburst@users.noreply.github.com> | 2022-11-21 16:32:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 16:32:56 +0100 |
commit | c45d89697af4f2ecd702fb6078d72d125fdbca78 (patch) | |
tree | dc30b1334254dbeb634c84f766335105d27128d0 /scripts | |
parent | 0a92bd6521da3159618f08172530f4777902158b (diff) | |
download | Vencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.tar.gz Vencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.tar.bz2 Vencord-c45d89697af4f2ecd702fb6078d72d125fdbca78.zip |
make userscript autoincrement version :trollface: (#233)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/buildWeb.mjs | 2 |
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 |