修改权限报错提示

This commit is contained in:
unknown 2020-04-21 11:30:08 +08:00
parent 78f6e11944
commit 992c921034
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ taskkill = (pid, restart) =>
try { try {
process.kill(pid); process.kill(pid);
} catch (error) { } catch (error) {
utools.showNotification(error); utools.showNotification('权限不足请以管理员权限运行uTools');
reject(error); reject(error);
} }
if(restart){ if(restart){

View File

@ -3,9 +3,9 @@
## 简介 ## 简介
- 列出当前进程,按内存占用从高到低排序 - 列出当前进程,按内存占用从高到低排序
- 支持关闭,重启,复制进程路径,在文件夹内显示等功能 - 支持关闭,重启,复制进程路径,在文件夹内显示等功能
- 支持 window 和 macOS - 支持 window 和 macOS
- 有些进程是否能结束、路径是否能获取取决于uTools是否以管理员权限运行
## 更新日志 ## 更新日志