* Moved Azure Deploy files to Azure repositories and removed core files * jsprismarine was removed due to lack of use and integration with Bds Maneger Core and its applications. * Updates to Github Actions Workflows. * It is now possible to run java Servers on Android, but with limitations. * Modifications in the nexe for the creation of the Bds Maneger Core binaries. * Now the Docker works as before version 1.1.0 of Bds Maneger Core. * The docker image has returned to support for arm/v7 * the docker image now uses the `testing` version of Debian and no longer `latest`. * Basic modifications in cli. * removed obsolete functions from index.js.
7 lines
408 B
JavaScript
7 lines
408 B
JavaScript
const fs = require('fs');
|
|
const Package_JSon = JSON.parse(fs.readFileSync(process.cwd()+'/package.json', 'utf8'));
|
|
const run_ID = process.env.RunID || "1111111111111111111111111111111111111";
|
|
Package_JSon.version = `${run_ID.slice(0, 2)}.${run_ID.slice(3, 6)}.${run_ID.slice(7, 11)}`;
|
|
fs.writeFileSync(process.cwd()+'/package.json', JSON.stringify(Package_JSon, null, 2));
|
|
console.log(Package_JSon.version);
|