mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(app-update): add in-app update flow with native e2e coverage
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user