feat: 摇树生成&多平台统一改造

This commit is contained in:
手瓜一十雪
2025-02-03 10:33:10 +08:00
parent 50e3f8c9a2
commit b398023e6c
24 changed files with 1278 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import { AuthHelper } from '../helper/SignToken';
import { LogWrapper } from '@/common/log';
import { WebSocket, WebSocketServer } from 'ws';
import os from 'os';
import { type IPty, spawn as ptySpawn } from '@homebridge/node-pty-prebuilt-multiarch';
import { IPty, spawn as ptySpawn } from '@/pty';
import { randomUUID } from 'crypto';
interface TerminalInstance {