Skip to content

Commit 8ab579a

Browse files
committed
disable electron
1 parent 10b8b49 commit 8ab579a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/background.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ import installExtension, { VUEJS_DEVTOOLS } from "electron-devtools-installer";
66
import { setupMenu } from "./menu";
77
import * as Sentry from "@sentry/electron";
88

9-
if (process.env.VUE_APP_SENTRY_DNS) {
10-
Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
11-
}
9+
// todo: fix later
10+
// https://docs.sentry.io/platforms/javascript/guides/electron/
11+
// if (process.env.VUE_APP_SENTRY_DNS) {
12+
// Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
13+
// }
1214

1315
require("@electron/remote/main").initialize();
1416

src/main.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ import * as $ from "jquery";
1818
(<any>window).$ = $;
1919
(<any>window).JQuery = $;
2020

21-
if (process.env.VUE_APP_SENTRY_DNS) {
22-
Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
23-
}
21+
// todo: fix later
22+
// https://docs.sentry.io/platforms/javascript/guides/electron/
23+
// if (process.env.VUE_APP_SENTRY_DNS) {
24+
// Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
25+
// }
2426

2527
import App from "./App.vue";
2628
import router from "./router";

0 commit comments

Comments
 (0)