feat(desktop): add file logging with electron-log

Logs from both main and renderer processes now persist to
~/Library/Logs/Paseo/main.log (macOS) with automatic rotation.
Removes the unused webview_log IPC handler.
This commit is contained in:
Mohamed Boudra
2026-03-27 19:22:40 +07:00
parent dfa376f5ca
commit 80e153f861
5 changed files with 15 additions and 6 deletions
+3
View File
@@ -1,3 +1,6 @@
import log from "electron-log/main";
log.initialize();
import path from "node:path";
import { pathToFileURL } from "node:url";
import { existsSync } from "node:fs";