Skip to content

Commit

Permalink
Merge pull request #159 from dtom90/develop
Browse files Browse the repository at this point in the history
Targeting default dmg & zip for mac to fix auto-update
  • Loading branch information
dtom90 committed Sep 24, 2020
2 parents d19ba4f + d269f90 commit 4d41574
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ mac:
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
target: dmg
afterSign: scripts/notarize.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtrack",
"version": "0.9.2",
"version": "0.9.3",
"private": true,
"description": "An app for productive developers",
"author": {
Expand Down
7 changes: 1 addition & 6 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function createWindow () {
createProtocol('app')
// Load the index.html when not in development
win.loadURL('app://./index.html')
autoUpdater.checkForUpdatesAndNotify()
}

// Open links in the default browser window
Expand Down Expand Up @@ -115,12 +116,6 @@ app.on('ready', async () => {
createWindow()
})

// This will immediately download an update, then install when the
// app quits.
app.on('ready', function () {
autoUpdater.checkForUpdatesAndNotify()
})

// Exit cleanly on request from parent process in development mode.
if (isDevelopment) {
if (process.platform === 'win32') {
Expand Down

0 comments on commit 4d41574

Please sign in to comment.