Removed "DorianTech" from mod.info. Also don't crash, when broken SVR.JS config is loaded.

This commit is contained in:
Dorian Niemiec 2023-12-31 21:22:46 +01:00
parent dfe13d711e
commit d9056a9f78
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
commit.sh

View file

@ -13,7 +13,13 @@ try {
} catch (ex) {
// Can't determine version
}
var configJSONS = JSON.parse(fs.readFileSync(__dirname + "/../../../config.json")); // Read configuration JSON
var configJSONS = {};
try {
configJSONS = JSON.parse(fs.readFileSync(__dirname + "/../../../config.json")); // Read configuration JSON
} catch(ex) {
//RedBrick will not care about configJSONS in SVR.JS 3.x and newer
//SVR.JS 2.x and older will fail to start with broken configuration file anyway...
}
var exttointerpreteruser = {};
var scriptExts = [];

View file

@ -1,4 +1,4 @@
{
"name": "DorianTech RedBrick CGI engine for SVR.JS",
"name": "RedBrick CGI engine for SVR.JS",
"version": "Nightly-GitMain"
}