diff --git a/src/main/index.ts b/src/main/index.ts index 999a347..c544957 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -85,6 +85,10 @@ log.transports.file.resolvePathFn = () => getLogFilePath('main') import icon from '../../resources/icon.png?asset' +if (process.platform === 'linux') { + app.commandLine.appendSwitch('no-sandbox') +} + // ─── State ────────────────────────────────────────────── let mainWindow: BrowserWindow | null = null