mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-22 06:19:50 +01:00
Should fix signal not received by window
This commit is contained in:
parent
d13bee0dd1
commit
2c8bf8faf2
@ -42,7 +42,6 @@ class Updater {
|
||||
const feed = `${server}/${pkg.repository}/${process.platform}-${process.arch}/${this.app.getVersion()}`
|
||||
if(process.platform != 'linux') {
|
||||
this.autoUpdater.setFeedURL(feed)
|
||||
this.autoUpdater.checkForUpdates()
|
||||
this.autoUpdater.on('error', message => {
|
||||
this.displayError(win, showNotification, message)
|
||||
})
|
||||
@ -55,6 +54,7 @@ class Updater {
|
||||
this.logger.info("update not available")
|
||||
win.loadFile('src/client/login.html')
|
||||
})
|
||||
this.autoUpdater.checkForUpdates()
|
||||
} else {
|
||||
this.searchUpdateLinux(win, showNotification)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user