mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02: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,9 +1,12 @@
|
||||
import { app, BrowserWindow, Menu, shell } from 'electron';
|
||||
import electron from 'electron';
|
||||
import type { BrowserWindow as BrowserWindowType } from 'electron';
|
||||
import { join } from 'node:path';
|
||||
|
||||
import { resolveWindowIconPath } from '@main/windows/appIcon';
|
||||
|
||||
export function createMainWindow(): BrowserWindow {
|
||||
const { app, BrowserWindow, Menu, shell } = electron;
|
||||
|
||||
export function createMainWindow(): BrowserWindowType {
|
||||
Menu.setApplicationMenu(null);
|
||||
|
||||
const window = new BrowserWindow({
|
||||
|
||||
Reference in New Issue
Block a user