littlenewton / open_windows_terminal_here Goto Github PK
View Code? Open in Web Editor NEW在 Windows 右键菜单中添加 Windows Terminal 启动选项
License: MIT License
在 Windows 右键菜单中添加 Windows Terminal 启动选项
License: MIT License
报错了
ParserError: D:\Users\abcdesteve\Desktop\uninstall.ps1:217
Line |
217 | … t="true" class="Header-link js-details-target btn-link"> <svg aria …
| ~
| The '<' operator is reserved for future use.
如题
ps版本:
Name Value ---- ----- PSVersion 7.1.1 PSEdition Core GitCommitId 7.1.1 OS Microsoft Windows 10.0.19042 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
系统为专业版, 虽然我觉得这应该和问题无关.
如果有出现了我和我一样问题的人,
请使用注册表编辑器复制脚本建立的管理员项,
去掉一个LUA什么的项就可以建立非管理员权限的终端.
Powershell version: 7.0.3.0
Windows version: Windows 10 Pro (Insider Preview) 20197.1000
PS C:\Users\<username>\Desktop> .\a.ps1 Mini
布局风格:Mini
WARNING: The latest version found is less than 0.11, which is not tested. The install script might fail in certain way.
Write-Error: C:\Users\<username>\Desktop\a.ps1:414
Line |
414 | $folder = GetProgramFilesFolder $includePreview
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to find Windows Terminal actual folder. The install script might fail in certain way.
GetWindowsTerminalIcon: C:\Users\<username>\Desktop\a.ps1:422
Line |
422 | $icon = GetWindowsTerminalIcon $folder $localCache
| ~~~~~~~
| Cannot bind argument to parameter 'folder' because it is an empty string.
CreateMenuItem: C:\Users\<username>\Desktop\a.ps1:452
Line |
452 | … " "Windows Terminal Here" $icon $comman …
| ~~~~~
| Cannot bind argument to parameter 'icon' because it is an empty string.
CreateMenuItem: C:\Users\<username>\Desktop\a.ps1:453
Line |
453 | … "Windows Terminal Here as Administrator" $icon $elevat …
| ~~~~~
| Cannot bind argument to parameter 'icon' because it is an empty string.
CreateMenuItem: C:\Users\<username>\Desktop\a.ps1:454
Line |
454 | … inalMini" "Windows Terminal Here" $icon $comman …
| ~~~~~
| Cannot bind argument to parameter 'icon' because it is an empty string.
CreateMenuItem: C:\Users\<username>\Desktop\a.ps1:455
Line |
455 | … min" "Windows Terminal Here as Administrator" $icon $elevat …
| ~~~~~
| Cannot bind argument to parameter 'icon' because it is an empty string.
Windows Terminal 启动选项已添加到资源管理器右键菜单
P.S. 卸载请使用 .\uninstall.ps1 Mini
大佬,windows terminal preview好像不管用,提示找不到路径。windows terminal倒是完美可用。这是报错的图https://imgtu.com/i/2g8LmF
Write-Error: Windows Terminal not detected. Learn how to install it from https://github.com/microsoft/terminal (via Microsoft Store is recommended). Exit.
从微软商店下的添加不了
能保持更新吗?谢谢
版本 Windows 10 专业版
版本号 20H2
安装日期 2021/4/4
操作系统内部版本 19042.906
体验 Windows Feature Experience Pack 120.2212.551.0
PowerShell 7.1.3
管理员模式执行了install脚本没有添加成功
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.