Skip to content

Commit 6a2d58e

Browse files
committed
fix(electron): stack traces not correct
1 parent 89f4ac7 commit 6a2d58e

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

electron.ts

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import windowService from "./src/services/window.js";
88
import tray from "./src/services/tray.js";
99
import options from "./src/services/options.js";
1010

11-
import sourceMapSupport from "source-map-support";
12-
sourceMapSupport.install();
13-
1411
// Prevent Trilium starting twice on first install and on uninstall for the Windows installer.
1512
if ((await import("electron-squirrel-startup")).default) {
1613
process.exit(0);

package-lock.json

+2-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
"sax": "1.4.1",
137137
"serve-favicon": "2.5.0",
138138
"session-file-store": "1.5.0",
139-
"source-map-support": "0.5.21",
140139
"stream-throttle": "0.1.3",
141140
"strip-bom": "5.0.0",
142141
"striptags": "3.2.0",
@@ -203,7 +202,6 @@
203202
"@types/sax": "1.2.7",
204203
"@types/serve-favicon": "2.5.7",
205204
"@types/session-file-store": "1.2.5",
206-
"@types/source-map-support": "0.5.10",
207205
"@types/stream-throttle": "0.1.4",
208206
"@types/supertest": "6.0.3",
209207
"@types/swagger-ui-express": "4.1.8",

0 commit comments

Comments
 (0)