mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-20 08:02:12 +00:00
fix: broken updater
This commit is contained in:
parent
750487f950
commit
033a6185ff
1 changed files with 6 additions and 5 deletions
|
|
@ -37,11 +37,12 @@
|
|||
// Client IPC listener: update-available, update-downloading, update-downloaded
|
||||
// Server IPC listener: update, update-download, quit-and-install
|
||||
|
||||
IPC.on('update-available', async () => {
|
||||
if (localStorage.getItem('ignoredVersion') !== await changeLog[0].version) {
|
||||
$updateModal = true
|
||||
}
|
||||
|
||||
IPC.on('update-available', () => {
|
||||
changeLog.then((cl)=>{
|
||||
if (cl[0].version !== localStorage.getItem('ignoredVersion')) {
|
||||
$updateModal = true
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
IPC.on('update-downloading', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue