Skip to content

Commit 0901347

Browse files
committed
feat: dev logs
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 92fd206 commit 0901347

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ import { isDevMode } from './utils';
2222

2323
log.initialize();
2424

25+
if (!app.isPackaged) {
26+
log.transports.file.fileName = 'main.dev.log';
27+
}
28+
2529
const mb = menubar({
2630
icon: TrayIcons.idle,
2731
index: Paths.indexHtml,

0 commit comments

Comments
 (0)