chore(terminal): 使用prebuild

This commit is contained in:
bietiaop
2025-02-02 12:59:00 +08:00
parent 19b47f0f42
commit b4e07aacfe
2 changed files with 2 additions and 2 deletions

View File

@@ -56,8 +56,8 @@
"dependencies": {
"@ffmpeg.wasm/core-mt": "^0.13.2",
"@ffmpeg.wasm/main": "^0.13.1",
"@homebridge/node-pty-prebuilt-multiarch": "^0.11.14",
"express": "^5.0.0",
"node-pty": "^1.1.0-beta22",
"piscina": "^4.7.0",
"qrcode-terminal": "^0.12.0",
"silk-wasm": "^3.6.1",

View File

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