Skip to content

Commit

Permalink
disable electron
Browse files Browse the repository at this point in the history
  • Loading branch information
njbrown committed Feb 27, 2022
1 parent 10b8b49 commit 8ab579a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import installExtension, { VUEJS_DEVTOOLS } from "electron-devtools-installer";
import { setupMenu } from "./menu";
import * as Sentry from "@sentry/electron";

if (process.env.VUE_APP_SENTRY_DNS) {
Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
}
// todo: fix later
// https://docs.sentry.io/platforms/javascript/guides/electron/
// if (process.env.VUE_APP_SENTRY_DNS) {
// Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
// }

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

Expand Down
8 changes: 5 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ import * as $ from "jquery";
(<any>window).$ = $;
(<any>window).JQuery = $;

if (process.env.VUE_APP_SENTRY_DNS) {
Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
}
// todo: fix later
// https://docs.sentry.io/platforms/javascript/guides/electron/
// if (process.env.VUE_APP_SENTRY_DNS) {
// Sentry.init({ dsn: process.env.VUE_APP_SENTRY_DNS });
// }

import App from "./App.vue";
import router from "./router";
Expand Down

0 comments on commit 8ab579a

Please sign in to comment.