feat(core,tooling): Windows support — shell selection, install.ps1, win-x64 release package, Windows CI (#79)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -325,6 +325,13 @@ export function registerConfigCommand(program: Command, t: Messages): void {
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
}
|
||||
// Windows has no POSIX shell startup file to write and no /bin shell to restart into;
|
||||
// refuse with a clear pointer instead of an ENOENT from spawning /bin/zsh.
|
||||
if (process.platform === "win32") {
|
||||
process.stderr.write(`${getMessages(lang).langWindowsUnsupported(lang)}\n`);
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
}
|
||||
const { rcPath } = await applyLanguageToRc(lang, {
|
||||
shell: process.env.SHELL,
|
||||
home: homedir(),
|
||||
|
||||
Reference in New Issue
Block a user