Convert the loading window to TypeScript

This commit is contained in:
Evan Hahn 2021-08-03 09:28:45 -05:00 committed by GitHub
parent 310f0dc88f
commit f33a0db32c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 51 additions and 37 deletions

View file

@ -1253,7 +1253,8 @@ app.on('ready', async () => {
webPreferences: {
...defaultWebPrefs,
nodeIntegration: false,
preload: path.join(__dirname, 'loading_preload.js'),
contextIsolation: false,
preload: path.join(__dirname, 'ts', 'windows', 'loading', 'preload.js'),
},
icon: windowIcon,
});