Add base Cider analytics.

This commit is contained in:
cryptofyre 2021-12-17 13:46:23 -06:00
parent 49a6725e82
commit 3079b29b88
2 changed files with 8 additions and 0 deletions

View file

@ -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; }

View file

@ -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() {