[Splash] Disable splashText by default

This commit is contained in:
Ducko 2022-01-30 20:33:37 +00:00
parent b73ba369f9
commit 28bdab8df4
2 changed files with 2 additions and 2 deletions

View file

@ -460,7 +460,7 @@ function launchSplashWindow(startMinimized) {
splashWindow.webContents.insertCSS(JSON.parse(_fs.default.readFileSync(_path.default.join(paths.getUserData(), 'userDataCache.json'), 'utf8')).openasarSplashCSS);
} catch (e) { }
if (oaConfig.splashText !== false) try {
if (oaConfig.splashText === true) try {
const buildInfo = require('../utils/buildInfo.js');
splashWindow.webContents.executeJavaScript(`debug.textContent = '${buildInfo.releaseChannel} ${buildInfo.version}\\nOpenAsar ${oaVersion}'`);
} catch (e) { }