原本 Windows Terminal 按照issue可以添加到右键在当前目录打开,并且一直 works well
大概几天前更新到 v0.5.2681,突然发现右键当前目录打开不好使了。排查了一下注册表和环境变量觉着应该没问题,又尝试了"wt.exe" "%V","--dir"
发现 wt 本身也没有 help 参数,就这样将就着用了两天,发现是在是太麻烦了,刚刚翻 issue 才发现需要在 config 里设置
As of v0.5, that actually won't work any longer. You'll need to set "startingDirectory": null for this to work actually. That fix regressed unintentionally in #2515.
而之前的操作是直接删掉 startingDirectory
@chen-xin This is something that worked for me for the access error.
Follow the same steps as #1060 (comment)
But, for the wt.exe path, instead of using %LOCALAPPDATA% , use actual full path like C:\\Users\\[your_user_acc]\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe.
Also, do not add startingDirectory in settings.
奇奇怪怪