Initial work on shader options, electron@4.

This commit is contained in:
Daniel Scalzi
2018-12-21 06:51:08 -05:00
parent f5b1418d18
commit a4d4b69791
7 changed files with 243 additions and 14 deletions

View File

@@ -98,7 +98,9 @@ function createWindow() {
icon: getPlatformIcon('WesterosSealSquare'),
frame: false,
webPreferences: {
preload: path.join(__dirname, 'app', 'assets', 'js', 'preloader.js')
preload: path.join(__dirname, 'app', 'assets', 'js', 'preloader.js'),
nodeIntegration: true,
contextIsolation: false
},
backgroundColor: '#171614'
})