Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求添加任务栏和开始菜单默认以管理员身份运行 #1558

Closed
ZhuFengDream opened this issue Apr 20, 2024 · 6 comments
Closed
Assignees
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Milestone

Comments

@ZhuFengDream
Copy link

背景与动机

对于喜欢使用任务栏和开始菜单启动胡桃工具箱的人来说并不方便

想要实现或优化的功能

是否可以添加Windows任务栏和开始菜单默认以管理员身份运行胡桃工具箱

@ZhuFengDream ZhuFengDream added needs-triage 需要诊断问题类型 priority:none Priority not set labels Apr 20, 2024
@Masterain98
Copy link
Member

可以自行创建 PowerShell 快捷方式

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_wbnnev551gwxy!App -verb runas"

@ZhuFengDream
Copy link
Author

可以自行创建 PowerShell 快捷方式

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_wbnnev551gwxy!App -verb runas"

多谢,不过还是建议在胡桃工具箱内添加在 开始菜单和任务栏 添加默认以管理员方式运行的按钮

@Masterain98
Copy link
Member

Masterain98 commented Apr 20, 2024

多谢,不过还是建议在胡桃工具箱内添加在 开始菜单和任务栏 添加默认以管理员方式运行的按钮

这种方式有1.5个弊端:

  1. 这是一个 PS 快捷方式,在任务栏右键不会有 Snap Hutao 原生的快捷菜单,而是 PS 的功能菜单
  2. 一部分用户因为使用精简版系统,导致系统中居然没有 PS,进而导致无法使用该方法生成的快捷方式。这类用户不在少数,出了问题都会来问,很烦;这也是为什么换成了当前的快捷方式生成的方式。

@Masterain98 Masterain98 added area-LifeCycle App生命周期问题 and removed needs-triage 需要诊断问题类型 labels Apr 20, 2024
@ZhuFengDream
Copy link
Author

多谢,不过还是建议在胡桃工具箱内添加在 开始菜单和任务栏 添加默认以管理员方式运行的按钮

这种方式有1.5个弊端:

  1. 这是一个 PS 快捷方式,在任务栏右键不会有 Snap Hutao 原生的快捷菜单,而是 PS 的功能菜单
  2. 一部分用户因为使用精简版系统,导致系统中居然没有 PS,进而导致无法使用该方法生成的快捷方式。这类用户不在少数,出了问题都会来问,很烦;这也是为什么换成了当前的快捷方式生成的方式。

彳亍,感谢解答

@qhy040404 qhy040404 added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release and removed priority:none Priority not set labels Apr 25, 2024
@dgp-bot dgp-bot bot added this to the 1.10.0 milestone Apr 30, 2024
@dgp-bot
Copy link

dgp-bot bot commented Apr 30, 2024

包含解决该问题的程序版本 1.10.0 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Apr 30, 2024
@dgp-bot dgp-bot bot closed this as completed Apr 30, 2024
Copy link

github-actions bot commented Jun 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Projects
None yet
Development

No branches or pull requests

4 participants