Use Windows PowerShell instead of pwsh 7 in demo

When pwsh 7 isn't installed it's hard to figure out what the problem is.
This commit is contained in:
Daniel Imms
2025-10-18 06:15:19 -07:00
committed by GitHub
parent a8fabcfa01
commit 7274e1bbea
+1 -1
View File
@@ -60,7 +60,7 @@ function startServer() {
const cols = parseInt(req.query.cols);
const rows = parseInt(req.query.rows);
const isWindows = process.platform === 'win32';
const term = pty.spawn(isWindows ? 'pwsh.exe' : 'bash', [], {
const term = pty.spawn(isWindows ? 'powershell.exe' : 'bash', [], {
name: 'xterm-256color',
cols: cols ?? 80,
rows: rows ?? 24,