Add base Cider analytics.
This commit is contained in:
parent
49a6725e82
commit
3079b29b88
2 changed files with 8 additions and 0 deletions
4
index.js
4
index.js
|
@ -1,6 +1,10 @@
|
|||
require('v8-compile-cache');
|
||||
const {app} = require('electron');
|
||||
|
||||
// Analytics for debugging.
|
||||
const ElectronSentry = require("@sentry/electron");
|
||||
ElectronSentry.init({dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214"});
|
||||
|
||||
// Creating the Application Window and Calling all the Functions
|
||||
function CreateWindow() {
|
||||
if (app.isQuiting) { app.quit(); return; }
|
||||
|
|
|
@ -6,6 +6,10 @@ const path = require("path");
|
|||
const windowStateKeeper = require("electron-window-state");
|
||||
const os = require('os');
|
||||
|
||||
// Analytics for debugging.
|
||||
const ElectronSentry = require("@sentry/electron");
|
||||
ElectronSentry.init({dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214"});
|
||||
|
||||
const CiderBase = {
|
||||
|
||||
CreateBrowserWindow() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue