TagSpaces is an offline, open source, document manager with tagging support
electron crashed deprecated
sytolkc3f90daa303b
diff --git a/app/main.dev.ts b/app/main.dev.tsindex 74333f44f..4bf79414f 100644--- a/app/main.dev.ts+++ b/app/main.dev.ts@@ -547,11 +547,18 @@ async function createAppWindow() {mainWindow = null;});- mainWindow.webContents.on('crashed', () => {- pm2.stopAll();- globalShortcut.unregisterAll();- app.quit();- });+ mainWindow.webContents.on(+ 'render-process-gone',+ (_, { reason, exitCode }) => {+ /*console.error(+ `[web ui] render-process-gone: ${reason}, code: ${exitCode}`+ );*/+ // 'crashed'+ pm2.stopAll();+ globalShortcut.unregisterAll();+ app.quit();+ }+ );}app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); // Fix broken autoplay functionality in the av player