aboutsummaryrefslogtreecommitdiff
path: root/buildversion.js
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
committerRaindropsSys <raindrops@equestria.dev>2024-06-29 20:59:16 +0200
commit914bcbb474f6f186c212b2da0d9d864b5e75d8e4 (patch)
treeb77a3e341f87e7a9c4ad9e1f9d4928f5b2495329 /buildversion.js
parent1c94bd658c2469f9ca9f465db82e71b6f7d2bfe8 (diff)
downloadfaunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.gz
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.tar.bz2
faunerie-914bcbb474f6f186c212b2da0d9d864b5e75d8e4.zip
Rename to Faunerie
Diffstat (limited to 'buildversion.js')
-rwxr-xr-xbuildversion.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/buildversion.js b/buildversion.js
deleted file mode 100755
index 72b2d9d..0000000
--- a/buildversion.js
+++ /dev/null
@@ -1,15 +0,0 @@
-const isUpdater = !!process.argv[2];
-let baseVersion = "0.0.0";
-
-if (isUpdater) {
- baseVersion = require('./updater/package.json')['version'];
-} else {
- baseVersion = require('./package.json')['version'];
-}
-
-process.stdout.write(baseVersion + "-" + new Date().toISOString()
- .replaceAll("-", "")
- .replaceAll(":", "")
- .split(".")[0]
- .replace("T", ".")
-);