Giter Club home page Giter Club logo

wt-here's Issues

安装后只有管理员权限项

如题
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什么的项就可以建立非管理员权限的终端.

添加失败

版本 Windows 10 专业版
版本号 20H2
安装日期 ‎2021/‎4/‎4
操作系统内部版本 19042.906
体验 Windows Feature Experience Pack 120.2212.551.0

PowerShell 7.1.3

管理员模式执行了install脚本没有添加成功

报错

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

Failed to install

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

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.