Skip to content

Commit

Permalink
Merge pull request #12 from BjornDCode/fix/0.1.1-bugfixes
Browse files Browse the repository at this point in the history
Fix/0.1.1 bugfixes
  • Loading branch information
BjornDCode authored Sep 28, 2020
2 parents 9f74c45 + 107cfb8 commit b6d11ac
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Bjørn Lindholm",
"email": "[email protected]"
},
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ app.on('ready', async () => {
}
}

if (process.env.NODE_ENV === 'production') autoUpdater.checkForUpdates()
if (process.env.NODE_ENV === 'production') {
autoUpdater.checkForUpdatesAndNotify()
}

createWindow()
registerCommands(win)
Expand Down
11 changes: 7 additions & 4 deletions src/components/ProjectSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,13 @@
return
}
this.onInput('database.version', match(value), {
mysql: '5.7',
postgres: '12',
})
this.onInput(
'database.version',
match(value, {
mysql: '5.7',
postgres: '12',
}),
)
},
},
}
Expand Down
14 changes: 7 additions & 7 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import './assets/tailwind.css'

Vue.config.productionTip = false

console.log('HELLO FROM MAIN')

new Vue({
router,
store,
Expand All @@ -31,11 +29,13 @@ new Vue({
}),

refreshProjects() {
this.projects.forEach(project => {
this.updateProjectStatus(project)
this.updateProjectGitStatus(project)
this.readProjectSettingsFile(project)
})
this.projects
.filter(project => project.status !== 'creating')
.forEach(project => {
this.updateProjectStatus(project)
this.updateProjectGitStatus(project)
this.readProjectSettingsFile(project)
})
},
},
mounted() {
Expand Down

0 comments on commit b6d11ac

Please sign in to comment.