Support Sentry for electron, Ref: #13

This commit is contained in:
ziajka
2018-04-03 14:35:41 +02:00
parent 235d841b1e
commit 3db58dfe7c
4 changed files with 129 additions and 6 deletions

View File

@ -8,6 +8,8 @@ const BrowserWindow = electron.BrowserWindow;
const path = require('path');
const url = require('url');
require('./sentry');
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow;