build: optimize release app workflow (#2011)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-04-18 17:50:29 +08:00
1 parent f6fb049ff2
commit f36d415c3d
8 files changed
+96 -147

No files matched your search

@@ -23,6 +23,7 @@ import { isMacOS } from '../../utils';
*/
contextBridge.exposeInMainWorld('apis', {
workspaceSync: (id: string) => ipcRenderer.invoke('octo:workspace-sync', id),
// ui
onThemeChange: (theme: string) =>
ipcRenderer.invoke('ui:theme-change', theme),