and this just annoys me

[ci skip]
This commit is contained in:
Core 2022-09-16 20:14:47 +01:00
parent cf1d9c415c
commit 5b01c15996
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -1,7 +1,7 @@
require("v8-compile-cache"); require("v8-compile-cache");
import { app, components, ipcMain } from "electron"; import { app, components, ipcMain } from "electron";
import { join } from "path";
import { Store } from "./base/store"; import { Store } from "./base/store";
import { AppEvents } from "./base/app"; import { AppEvents } from "./base/app";
import { Plugins } from "./base/plugins"; import { Plugins } from "./base/plugins";
@ -9,6 +9,10 @@ import { BrowserWindow } from "./base/browserwindow";
import { init as Sentry } from "@sentry/electron"; import { init as Sentry } from "@sentry/electron";
import { RewriteFrames } from "@sentry/integrations"; import { RewriteFrames } from "@sentry/integrations";
if (!app.isPackaged) {
app.setPath("userData", join(app.getPath("appData"), "Cider"));
}
// Analytics for debugging fun yeah. // Analytics for debugging fun yeah.
Sentry({ Sentry({
dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214", dsn: "https://68c422bfaaf44dea880b86aad5a820d2@o954055.ingest.sentry.io/6112214",