LittleNewton / wt-here

在 Windows 右键菜单中添加 Windows Terminal 启动选项
MIT License
215 stars 49 forks source link

报错 #7

Closed abcdesteve closed 6 months ago

abcdesteve commented 1 year ago

报错了 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.

LittleNewton commented 1 year ago

经测试一切正常:

❯ .\install.ps1
布局风格:Mini
Found Windows Terminal version 1.16.10261.0.
Found actual executable C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10261.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe.
Windows Terminal 启动选项已添加到资源管理器右键菜单

P.S. 卸载请使用 .\uninstall.ps1 Mini
❯ pwsh -v
PowerShell 7.3.3
abcdesteve commented 1 year ago

windows11release preview确认无法正常使用,powershell版本与你相同

LittleNewton commented 1 year ago

windows11release preview确认无法正常使用,powershell版本与你相同

请不要使用 Win11,本脚本与win11不兼容。

LittleNewton commented 1 year ago

@abcdesteve

由于你是 Preview 版本,安装时需要指定参数:

.\install.ps1 -PreRelease True