Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into no-project
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmouk authored May 14, 2021
2 parents bb5542a + e2e9e7b commit 265ae95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ menubar.on('after-create-window', () => {
})

app.on('ready', () => {
visitor.set('version', process.env.npm_package_version)
autoUpdater.checkForUpdatesAndNotify()
})

Expand Down
1 change: 1 addition & 0 deletions src/main/modules/sentry.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
function initSentry(Sentry) {
Sentry.init({
dsn: process.env.SENTRY_DSN,
release: process.env.npm_package_version,
debug: process.env.NODE_ENV !== 'production',
enableNative: !!process.env.SENTRY_DSN,
})
Expand Down

0 comments on commit 265ae95

Please sign in to comment.