Fix Binary #138
@ -32,7 +32,7 @@ if (kill) bds.kill();
|
|||||||
if (server) UpdatePlatform(server);
|
if (server) UpdatePlatform(server);
|
||||||
|
|
||||||
function StartServer(){
|
function StartServer(){
|
||||||
const { Servers } = require("../../lib/ServerURL");
|
const { Servers } = require("../lib/ServerURL");
|
||||||
// Check Server Update
|
// Check Server Update
|
||||||
if (Versions[GetPlatform()] !== null) {
|
if (Versions[GetPlatform()] !== null) {
|
||||||
if (Versions[GetPlatform()] !== Servers.latest[GetPlatform()]) {
|
if (Versions[GetPlatform()] !== Servers.latest[GetPlatform()]) {
|
||||||
@ -169,7 +169,7 @@ if (bds_version){
|
|||||||
try {
|
try {
|
||||||
if (argv.interactive) {
|
if (argv.interactive) {
|
||||||
console.log(`Geting versions to ${GetPlatform()}`);
|
console.log(`Geting versions to ${GetPlatform()}`);
|
||||||
const LoadVersion = require("../../lib/ServerURL").Servers[GetPlatform()]
|
const LoadVersion = require("../lib/ServerURL").Servers[GetPlatform()]
|
||||||
const Version = Object.getOwnPropertyNames(LoadVersion)
|
const Version = Object.getOwnPropertyNames(LoadVersion)
|
||||||
// List Version
|
// List Version
|
||||||
for (let version in Version) console.log(`${version}: ${GetPlatform()} version ${Version[version]}`); // deepscan-disable-line FORIN_ARRAY
|
for (let version in Version) console.log(`${version}: ${GetPlatform()} version ${Version[version]}`); // deepscan-disable-line FORIN_ARRAY
|
||||||
|
Reference in New Issue
Block a user