ngpu fix: missing global declaration

This commit is contained in:
bordun 2020-03-17 19:33:33 +01:00
parent 0bab9a1d1e
commit 100f3a824d

View file

@ -3,6 +3,7 @@ location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, (s,k,v)=>{
ARGV[k]=v
})
window.ELECTRON_NOGPU = window.ELECTRON_NOGPU || false
window.ELECTRON_FULLSCREEN = window.ELECTRON_FULLSCREEN || false
window.LANG = ARGV.lang === 'debug' ? 'debug' : (ARGV.lang || navigator.language || '').substr(0, 2).toLowerCase()