mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-10-22 12:01:20 +08:00
修改权限报错提示
This commit is contained in:
@@ -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){
|
||||||
|
Reference in New Issue
Block a user