From 250c6901b73f84b2d0563d4f3d641d9acfc63046 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 18 May 2024 15:04:54 -0300 Subject: [PATCH] feat: replace disableHardwareAcceleration with --no-sandbox --- src/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 0d04a355..dabdeb4e 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -19,7 +19,7 @@ autoUpdater.setFeedURL({ const gotTheLock = app.requestSingleInstanceLock(); if (!gotTheLock) app.quit(); -app.disableHardwareAcceleration(); +app.commandLine.appendSwitch("--no-sandbox"); i18n.init({ resources,