mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
55f800202e
commit
3cb8b35132
@ -68,8 +68,12 @@ function createWindow(){
|
||||
// see if the splash screen is disabled...
|
||||
.executeJavaScript('localStorage.disableSplashScreen')
|
||||
.then(function(disabled){
|
||||
splash.webContents
|
||||
.executeJavaScript(`document.getElementById("version").innerText = "${VERSION}"`)
|
||||
// update version...
|
||||
disabled
|
||||
|| splash.webContents
|
||||
.executeJavaScript(
|
||||
`document.getElementById("version").innerText = "${VERSION}"`)
|
||||
// show/destroy..
|
||||
disabled ?
|
||||
splash.destroy()
|
||||
: splash.show() }) })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user