From 6f6cbb6ea5a2aa9a49cbc1f8ff65135cb2ffa418 Mon Sep 17 00:00:00 2001 From: Per Date: Tue, 14 Apr 2020 12:44:44 +0200 Subject: [PATCH] silence "app.allowRendererProcessReuse is deprecated" warning --- src/main/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index f3b8209..80f1138 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -30,6 +30,8 @@ import { Palette } from '../gui/style/palette' import { openSync, writeSync, closeSync } from 'fs' import { CLI } from '../cli/cli' +app.allowRendererProcessReuse = true + let mainWindow: Electron.BrowserWindow | null = null export interface DocumentState {