Comments (6)
meanwhile you can use
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\MenuTerminalMini]
@="打开Windows Terminal"
[HKEY_CLASSES_ROOT\Directory\Background\shell\MenuTerminalMini\command]
@="C:\\Users\\<<input your user name here! Note this is a path, not your full user name >>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"
To add a normal item
from wt-here.
At later test, it seems a restart will do the trick, which leaves my above comment useless.
The normal privilege item will appear after a reboot. (Though i didn't find the correspond item in my reg.)
I consider this behaviour a little weird, but this issue closed.
Feel free to close it after you check it.
from wt-here.
之前的版本是有普通权限选项的,但是在某个 Windows Terminal 1.5.10271.0 之后,安装 Windows-Terminal 会自动添加一个普通权限的右键菜单。为了避免与软件自带的菜单冲突(做相同的功能),我在 6733404 提交里删除了普通权限选项,只保留管理员权限。
如果你的 Windows-Termianl 版本较低,可以尝试 git checkout 命令回退到上述的提交之前并重新运行该脚本。
from wt-here.
之前的版本是有普通权限选项的,但是在某个 Windows Terminal 1.5.10271.0 之后,安装 Windows-Terminal 会自动添加一个普通权限的右键菜单。为了避免与软件自带的菜单冲突(做相同的功能),我在 6733404 提交里删除了普通权限选项,只保留管理员权限。
如果你的 Windows-Termianl 版本较低,可以尝试 git checkout 命令回退到上述的提交之前并重新运行该脚本。
原来如此,感谢说明。
我额外问一下,请问您知道windows terminal添加的普通权限项在注册表的哪个位置吗?
from wt-here.
Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\MenuTerminalAdmin
Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\MenuTerminalMini_Admin
Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\MenuTerminalMini_Admin
Mini 风格的 item 可以在上面几个位置找一下。
from wt-here.
我今天安装的terminal 是1.8的,默认也没有右键启动,可能作者还需要改回来。后来我也用了之前版本的脚本成功了
from wt-here.
Related Issues (8)
- Failed to install HOT 1
- 添加失败 HOT 1
- windows terminal preview好像不管用 HOT 4
- Write-Error: Windows Terminal not detected. Learn how to install it from https://github.com/microsoft/terminal (via Microsoft Store is recommended). Exit. HOT 1
- win11似乎装完了也没有 HOT 2
- 报错 HOT 4
- 提供对非安装在默认目录的 Windows Terminal 的支持,方式可以是添加参数,填写 Windows Terminal 的路径。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wt-here.