mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
Remove extraneous log message and comments
This commit is contained in:
parent
88f6a4bed9
commit
f0142391ee
2 changed files with 0 additions and 3 deletions
|
@ -291,7 +291,6 @@ const httpStatusPort = 60332;
|
||||||
|
|
||||||
function maybeShowSplash() {
|
function maybeShowSplash() {
|
||||||
var suppressSplash = userConfig.get('doNotShowSplash', false);
|
var suppressSplash = userConfig.get('doNotShowSplash', false);
|
||||||
console.log("Suppress?", suppressSplash)
|
|
||||||
|
|
||||||
if (!suppressSplash) {
|
if (!suppressSplash) {
|
||||||
var window = new BrowserWindow({
|
var window = new BrowserWindow({
|
||||||
|
|
|
@ -6,7 +6,6 @@ function Config() {
|
||||||
}
|
}
|
||||||
Config.prototype = {
|
Config.prototype = {
|
||||||
load: function(filePath) {
|
load: function(filePath) {
|
||||||
// open file
|
|
||||||
var rawData = null;
|
var rawData = null;
|
||||||
try {
|
try {
|
||||||
rawData = fs.readFileSync(filePath);
|
rawData = fs.readFileSync(filePath);
|
||||||
|
@ -15,7 +14,6 @@ Config.prototype = {
|
||||||
}
|
}
|
||||||
var configData = {};
|
var configData = {};
|
||||||
|
|
||||||
// read file and json parse
|
|
||||||
try {
|
try {
|
||||||
if (rawData) {
|
if (rawData) {
|
||||||
configData = JSON.parse(rawData);
|
configData = JSON.parse(rawData);
|
||||||
|
|
Loading…
Reference in a new issue