mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-06-07 21:46:33 +08:00
修改权限报错提示
This commit is contained in:
parent
78f6e11944
commit
992c921034
@ -62,7 +62,7 @@ taskkill = (pid, restart) =>
|
||||
try {
|
||||
process.kill(pid);
|
||||
} catch (error) {
|
||||
utools.showNotification(error);
|
||||
utools.showNotification('权限不足,请以管理员权限运行uTools');
|
||||
reject(error);
|
||||
}
|
||||
if(restart){
|
||||
|
Loading…
x
Reference in New Issue
Block a user