fix: Windows build errors (handle_connection, creation_flags, mkdir)

- server.rs: add handle_connection_windows for named pipe connections
- transport.rs: import CommandExt trait for creation_flags on Windows
- release.yml: mkdir -p before binary copy to npm bin dirs
This commit is contained in:
jackwener
2026-04-16 23:14:58 +08:00
parent f9bca1f872
commit 59dd6bfa24
4 changed files with 34 additions and 2 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ pbkdf2 = "0.12"
# 解压
zstd = "0.13"
# IPC (Unix socket + Windows named pipe 统一)
# IPC Windows named pipe(Unix 直接用 tokio::net::UnixListener)
[target.'cfg(windows)'.dependencies]
interprocess = { version = "2", features = ["tokio"] }
# 错误处理