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
+10
View File
@@ -16718,6 +16718,15 @@
"node": ">=8"
}
},
"node_modules/electron-log": {
"version": "5.4.3",
"resolved": "https://registry.npmjs.org/electron-log/-/electron-log-5.4.3.tgz",
"integrity": "sha512-sOUsM3LjZdugatazSQ/XTyNcw8dfvH1SYhXWiJyfYodAAKOZdHs0txPiLDXFzOZbhXgAgshQkshH2ccq0feyLQ==",
"license": "MIT",
"engines": {
"node": ">= 14"
}
},
"node_modules/electron-publish": {
"version": "26.8.1",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-26.8.1.tgz",
@@ -35017,6 +35026,7 @@
"dependencies": {
"@getpaseo/cli": "0.1.36",
"@getpaseo/server": "0.1.36",
"electron-log": "^5.4.3",
"electron-updater": "^6.6.2",
"ws": "^8.14.2"
},