mirror of
https://github.com/davidkaya/aryx.git
synced 2026-12-01 04:44:05 +01:00
fix: resolve macos bun interop
Use Bun-safe Electron and child_process import patterns for macOS GitHub Actions tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
40ef1c07b5
commit
d9f3f5302a
13 files changed
+104
-58
No files matched your search
@@ -1,8 +1,10 @@
|
||||
import { contextBridge, ipcRenderer } from 'electron';
|
||||
import electron from 'electron';
|
||||
|
||||
import { ipcChannels } from '@shared/contracts/channels';
|
||||
import type { ElectronApi } from '@shared/contracts/ipc';
|
||||
|
||||
const { contextBridge, ipcRenderer } = electron;
|
||||
|
||||
const api: ElectronApi = {
|
||||
describeSidecarCapabilities: () => ipcRenderer.invoke(ipcChannels.describeSidecarCapabilities),
|
||||
refreshSidecarCapabilities: () => ipcRenderer.invoke(ipcChannels.refreshSidecarCapabilities),
|
||||
|
||||
Reference in new issue
Block a user