Convert the loading window to TypeScript
This commit is contained in:
parent
310f0dc88f
commit
f33a0db32c
7 changed files with 51 additions and 37 deletions
3
main.js
3
main.js
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue