[Splash] Disable splashText by default
This commit is contained in:
parent
b73ba369f9
commit
28bdab8df4
2 changed files with 2 additions and 2 deletions
|
@ -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) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue