mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
Switch to installer to enable auto-updates
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -2,6 +2,7 @@ import { app, BrowserWindow, ipcMain } from 'electron'
|
||||
import * as windowStateKeeper from 'electron-window-state'
|
||||
import * as path from 'path'
|
||||
import * as url from 'url'
|
||||
require('dotenv').config()
|
||||
require('electron-unhandled')({ showDialog: true })
|
||||
|
||||
// IPC Handlers
|
||||
|
||||
Reference in New Issue
Block a user