Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Add auto updater #37

Merged
merged 22 commits into from
Nov 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed version number
ItsMePepijn authored Nov 1, 2023
commit 3eef48ee712575070a58548b68633155d035b905
4 changes: 2 additions & 2 deletions build/updateConfig.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ const file = require(fileName);

console.log("changing version to " + process.argv[2] + ", isNightly to " + process.argv[3] + " and environment to prod")

file.version = process.argv[2];
file.version = process.argv[2].replace("v", "");
file.info.version = process.argv[2];
file.isNightly = process.argv[3] === 'true';
file.environment = "prod"
@@ -13,4 +13,4 @@ fs.writeFile(fileName, JSON.stringify(file), function writeJSON(err) {
if (err) return console.log(err);
console.log(JSON.stringify(file));
console.log('Wrote to ' + fileName + "!");
});
});