feat(app-update): add in-app update flow with native e2e coverage

This commit is contained in:
Tommaso Casaburi
2026-03-19 20:19:48 +08:00
parent bc870ae438
commit a2286aa68e
61 changed files with 1900 additions and 249 deletions
+1
View File
@@ -21,6 +21,7 @@ contextBridge.exposeInMainWorld('electronApi', {
copyToClipboard: (text) => ipcRenderer.invoke('copy-to-clipboard', text),
getPlatform: () => ipcRenderer.invoke('get-platform'),
automateUploadMedia: (options) => ipcRenderer.invoke('automate-upload-media', options),
downloadAndInstallUpdate: (options) => ipcRenderer.invoke('download-and-install-update', options),
getPathForFile: (file) => {
try {
return webUtils.getPathForFile(file);