From 0901347a989d6883b2041ad2e87f4dad600fadd8 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sat, 14 Mar 2026 10:42:59 -0400 Subject: [PATCH] feat: dev logs Signed-off-by: Adam Setch --- src/main/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index 1b642c2c4..b61cde0ea 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -22,6 +22,10 @@ import { isDevMode } from './utils'; log.initialize(); +if (!app.isPackaged) { + log.transports.file.fileName = 'main.dev.log'; +} + const mb = menubar({ icon: TrayIcons.idle, index: Paths.indexHtml,