Giter Club home page Giter Club logo

Comments (6)

GrandArth avatar GrandArth commented on May 28, 2024

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.

GrandArth avatar GrandArth commented on May 28, 2024

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.

LittleNewton avatar LittleNewton commented on May 28, 2024

@GrandArth

之前的版本是有普通权限选项的,但是在某个 Windows Terminal 1.5.10271.0 之后,安装 Windows-Terminal 会自动添加一个普通权限的右键菜单。为了避免与软件自带的菜单冲突(做相同的功能),我在 6733404 提交里删除了普通权限选项,只保留管理员权限。

如果你的 Windows-Termianl 版本较低,可以尝试 git checkout 命令回退到上述的提交之前并重新运行该脚本。

from wt-here.

GrandArth avatar GrandArth commented on May 28, 2024

@GrandArth

之前的版本是有普通权限选项的,但是在某个 Windows Terminal 1.5.10271.0 之后,安装 Windows-Terminal 会自动添加一个普通权限的右键菜单。为了避免与软件自带的菜单冲突(做相同的功能),我在 6733404 提交里删除了普通权限选项,只保留管理员权限。

如果你的 Windows-Termianl 版本较低,可以尝试 git checkout 命令回退到上述的提交之前并重新运行该脚本。

原来如此,感谢说明。
我额外问一下,请问您知道windows terminal添加的普通权限项在注册表的哪个位置吗?

from wt-here.

LittleNewton avatar LittleNewton commented on May 28, 2024

@GrandArth

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.

OrdinaryYZH avatar OrdinaryYZH commented on May 28, 2024

我今天安装的terminal 是1.8的,默认也没有右键启动,可能作者还需要改回来。后来我也用了之前版本的脚本成功了

from wt-here.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.