Generate preload cache from live app
This commit is contained in:
parent
695f64a55a
commit
3dba3a07f0
7 changed files with 57 additions and 69 deletions
|
|
@ -2567,6 +2567,9 @@ ipc.on('restart', () => {
|
|||
app.quit();
|
||||
});
|
||||
ipc.on('shutdown', () => {
|
||||
if (process.env.GENERATE_PRELOAD_CACHE) {
|
||||
windowState.markReadyForShutdown();
|
||||
}
|
||||
app.quit();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue