and this just annoys me
[ci skip]
This commit is contained in:
parent
cf1d9c415c
commit
5b01c15996
1 changed files with 5 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue