This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,6 @@ import { checkForUpdate } from "./util/updateChecker"; | |
|
||
export let trayManager: TrayManager; | ||
|
||
//* Define and set it to null | ||
//* Set AppUserModelId for task manager etc | ||
//* When app is ready | ||
export let updateCheckerInterval = null; | ||
app.whenReady().then(async () => { | ||
|
@@ -54,11 +52,12 @@ app.whenReady().then(async () => { | |
}); | ||
|
||
async function initReporter(firstLaunch: boolean = false) { | ||
if (firstLaunch) settings.set("improvementProgramme", true); | ||
if (settings.get("improvementProgramme")) { | ||
if (firstLaunch) settings.set("improvementProgram", true); | ||
if (settings.get("improvementProgram")) { | ||
console.log("Initializing Sentry..."); | ||
Sentry.init({ | ||
dsn: process.env.DSN | ||
// definitely not exposed | ||
dsn: "https://[email protected]/5022280" | ||
}); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters