mirror of
https://gitea.shironeko-all.duckdns.org/shironeko/Hytale-F2P-2.git
synced 2026-02-26 02:31:46 -03:00
onUpdateError fix
This commit is contained in:
@@ -130,5 +130,8 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
|||||||
},
|
},
|
||||||
onUpdateDownloaded: (callback) => {
|
onUpdateDownloaded: (callback) => {
|
||||||
ipcRenderer.on('update-downloaded', (event, data) => callback(data));
|
ipcRenderer.on('update-downloaded', (event, data) => callback(data));
|
||||||
|
},
|
||||||
|
onUpdateError: (callback) => {
|
||||||
|
ipcRenderer.on('update-error', (event, data) => callback(data));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user