Skip to content

Commit

Permalink
Try to fix Electron app
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoming committed Oct 20, 2024
1 parent f29cf0a commit 25020c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/desktop-electron/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ contextBridge.exposeInMainWorld('Actual', {
ipcRenderer.send('update-menu', budgetId);
},

// No auto-updates in the desktop app
isUpdateReadyForDownload: () => false,
waitForUpdateReadyForDownload: () => new Promise<void>(() => {}),

getServerSocket: () => {
return null;
},
Expand Down

0 comments on commit 25020c1

Please sign in to comment.