作者自荐:dsh-win32(Windows 上的极简模式持久 shell) - #63
Closed
sjh9714 wants to merge 1 commit into
Closed
Conversation
Owner
|
感谢自荐!根据最新贡献规则(CONTRIBUTING.md「作者自荐」),自荐收录要求仓库 Star 数超过 10 个(>10)。 Thanks for the self-promotion! Per the updated contributing rules, the author showcase now requires more than 10 stars. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
作者自荐,仓库是我自己维护的。
解决什么问题
Windows 上选极简模式会直接报
terminal inspection is unsupported on platform win32,持久 shell 和依赖它的极简模式整个用不了。原因是调用顺序上先解析平台 inspector 再 spawn PTY,inspector 在前,所以重装 node-pty 或换 Node 版本都不会有变化。这个插件补上官方缺的 win32 ProcessInspector。另外还有一个沙箱变体。
workspace-write用受限令牌,Git Bash 这类 MSYS shell 在 cygheap 初始化就死,所以现有 Windows 方案基本都要求danger-full-access。这个变体换成 busybox-w32 的 ash,没有 cygheap,在受限令牌下能活。适合谁
Windows 上用 DSH 极简模式的人,尤其是不想把权限开到
danger-full-access的。自检
dsh-pluginTopic,简介已填dsh-win32),不是目录站或榜单node scripts/validate-curated.mjs本地通过(30 showcase repositories checked)改动
SHOWCASE.md中英两个列表末尾各追加一行dsh-session-deeplink)