[Splash] Disable splashText by default
This commit is contained in:
		
							parent
							
								
									b73ba369f9
								
							
						
					
					
						commit
						28bdab8df4
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -25,7 +25,7 @@ You can configure OpenAsar via `settings.json` (found in your Discord app data / | |||
| - `themeSync` (bool, default true) - syncs your modded client's theme with splash theming | ||||
| - `autoupdate` (bool, default true) - whether to autoupdate OpenAsar after Discord startup | ||||
| - `updatePrompt` (bool, default false) - whether to show update prompt after updating OpenAsar | ||||
| - `splashText` (bool, default true) - whether to show bottom right version info text in splash | ||||
| - `splashText` (bool, default false) - whether to show bottom right version info text in splash | ||||
| 
 | ||||
| ### Extra Discord Options | ||||
| - `multiInstance` (bool, default false) - whether to enable multi-instance | ||||
|  |  | |||
|  | @ -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