make userscript autoincrement version :trollface: (#233)
This commit is contained in:
parent
0a92bd6521
commit
c45d89697a
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ await Promise.all(
|
||||||
...commonOptions,
|
...commonOptions,
|
||||||
outfile: "dist/Vencord.user.js",
|
outfile: "dist/Vencord.user.js",
|
||||||
banner: {
|
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: {
|
footer: {
|
||||||
// UserScripts get wrapped in an iife, so define Vencord prop on window that returns our local
|
// UserScripts get wrapped in an iife, so define Vencord prop on window that returns our local
|
||||||
|
|
Loading…
Reference in a new issue