windows release支持

This commit is contained in:
yonglin
2026-09-17 16:16:44 +08:00
parent 36d60bab1e
commit b9098ece5c
6 changed files with 100 additions and 62 deletions
+8
View File
@@ -146,6 +146,14 @@ const script = `(async () => {
report.validationRejected = true
}
// --- local PTY -------------------------------------------------------
// This catches platform-specific shell selection and packaged node-pty
// failures, neither of which the repository tests can exercise.
const local = await window.nexusterm.session.openLocal()
if (!local.ok) throw new Error(local.message)
report.localShell = true
await window.nexusterm.session.close(local.sessionId)
// --- clean up --------------------------------------------------------
tree = await api.list()
for (const node of tree) {