From db56ef1624a24d9c85a11c74f436d80d0e447d51 Mon Sep 17 00:00:00 2001 From: AMIAY Date: Sun, 25 Jan 2026 14:31:17 +0100 Subject: [PATCH] onUpdateError fix --- preload.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preload.js b/preload.js index b31d382..0cd9091 100644 --- a/preload.js +++ b/preload.js @@ -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)); } });