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');
|
require('v8-compile-cache');
|
||||||
const {app} = require('electron');
|
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
|
// Creating the Application Window and Calling all the Functions
|
||||||
function CreateWindow() {
|
function CreateWindow() {
|
||||||
if (app.isQuiting) { app.quit(); return; }
|
if (app.isQuiting) { app.quit(); return; }
|
||||||
|
|
|
@ -6,6 +6,10 @@ const path = require("path");
|
||||||
const windowStateKeeper = require("electron-window-state");
|
const windowStateKeeper = require("electron-window-state");
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
|
|
||||||
|
// Analytics for debugging.
|
||||||
|
const ElectronSentry = require("@sentry/electron");
|
||||||
|
ElectronSentry.init({dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214"});
|
||||||
|
|
||||||
const CiderBase = {
|
const CiderBase = {
|
||||||
|
|
||||||
CreateBrowserWindow() {
|
CreateBrowserWindow() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue