properly relaunch app in the portable build (fixes #478)

This commit is contained in:
Eugene Pankov
2019-05-19 22:41:41 +02:00
parent 206cf974c0
commit 1a0acad3c2
5 changed files with 22 additions and 12 deletions

View File

@@ -100,8 +100,7 @@ export class SettingsTabComponent extends BaseTabComponent {
}
restartApp () {
this.electron.app.relaunch()
this.electron.app.exit()
this.hostApp.relaunch()
}
saveConfigFile () {