fix(electrobun): copy pty-client locally, fix import path for Bun bundler

This commit is contained in:
Hibryda 2026-03-20 03:23:52 +01:00
parent 4676fc2c94
commit 0f7024ec8f
7 changed files with 509 additions and 52 deletions

View file

@ -1,6 +1,6 @@
import path from "path";
import { BrowserWindow, BrowserView, Updater } from "electrobun/bun";
import { PtyClient } from "../../agor-pty/clients/ts/pty-client.ts";
import { PtyClient } from "./pty-client.ts";
import type { PtyRPCSchema } from "../shared/pty-rpc-schema.ts";
const DEV_SERVER_PORT = 9760; // Project convention: 9700+ range