feat: implement latest version updater for macos (#2214)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Horusandhimself65 authored and GitHub committed 2023-05-08 13:21:15 -05:00
1 parent d1457075b3
commit 41d4af1dc1
21 files changed
+263 -12

No files matched your search

@@ -72,6 +72,13 @@ const apis = {
updateEnv: (env: string, value: string) => {
ipcRenderer.invoke('main:env-update', env, value);
},
onClientUpdateInstall: () => {
ipcRenderer.invoke('ui:client-update-install');
},
onClientUpdateAvailable: (callback: (version: string) => void) => {
return onMainEvent('main:client-update-available', callback);
},
};
const appInfo = {