mirror of
https://github.com/amiayweb/Hytale-F2P.git
synced 2026-02-26 08:51:45 -03:00
onUpdateError fix
This commit is contained in:
@@ -130,5 +130,8 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||
},
|
||||
onUpdateDownloaded: (callback) => {
|
||||
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