Compare commits

...
2 Commits
Author SHA1 Message Date
litruv 7b28d2fcba Merge branch 'main' of http://synbox.ruv.wtf:8418/litruv/cinny-desktop
Build / increment-version (push) Successful in 7s
Build / build-linux (push) Successful in 1m55s
Build Paarrot Windows / start-vm (push) Failing after 5m34s
Build Paarrot Windows / build (push) Has been skipped
Build / build-windows (push) Successful in 5m28s
Build / create-release (push) Successful in 17s
2026-04-03 16:48:30 +11:00
litruv 362ca62296 feat: add update download handling and installation methods 2026-04-03 16:48:26 +11:00
2 changed files with 6 additions and 1 deletions

No files matched your search

+1 -1
Submodule cinny updated: 6ca8e59b0b...0ddf05746a.
+5
View File
@@ -134,6 +134,11 @@ contextBridge.exposeInMainWorld('electron', {
onUpdateDownloadProgress: (callback) => {
ipcRenderer.on('update-download-progress', (_, progress) => callback(progress));
},
onUpdateDownloaded: (callback) => {
ipcRenderer.on('update-downloaded', (_, info) => callback(info));
},
downloadUpdate: () => ipcRenderer.invoke('download-update'),
installUpdate: () => ipcRenderer.invoke('install-update'),
},
// Desktop capturer (for screen sharing)