Switch to installer to enable auto-updates

This commit is contained in:
Geomitron
2020-05-19 21:28:27 -04:00
parent ac22fb286d
commit 5cd488e5ef
8 changed files with 116 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ class DownloadHandler implements IPCEmitHandler<'download'> {
currentDownload: ChartDownload = undefined
retryWaiting: ChartDownload[] = []
handler(data: Download) { // TODO: make sure UI can't add the same versionID more than once
handler(data: Download) {
switch (data.action) {
case 'add': this.addDownload(data); break
case 'retry': this.retryDownload(data); break