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

feat: 默认启动不请求管理员权限,必要时使用管理员权限重启 #1390

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

WindyValley
Copy link
Contributor

  • 写 HKCU 的命令不需要管理员权限,工程文件里的 RequireAdministrator 改为 AsInvoker
  • 调用 uninstall 和 install/CustomInstall 前判断一下进程的状态, 如果不是管理就提权重启

- 写 HKCU 的命令不需要管理员权限,工程文件里的 RequireAdministrator
  改为 AsInvoker
- 调用 uninstall 和 install/CustomInstall 前判断一下进程的状态,
  如果不是管理就提权重启
@WindyValley
Copy link
Contributor Author

@fxliang 改了一下格式问题,麻烦重发一下CI

@WindyValley
Copy link
Contributor Author

有点坑,忘了VS的工程文件Release跟Debug的属性是分开的

@WindyValley
Copy link
Contributor Author

我自查没问题了,大佬们看如果没问题麻烦抽空合一下

@fxliang fxliang merged commit ba768a6 into rime:master Oct 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants