This commit is contained in:
fofolee 2019-04-01 00:31:13 +08:00
parent c3be7426ab
commit 23d5a577b0
7 changed files with 23 additions and 16 deletions

View File

@ -1,8 +1,8 @@
{
"pluginName": "ProcessKiller",
"description": "关闭进程插件",
"pluginName": "关闭进程",
"description": "列出当前运行的所有进程,左键进行关闭,右键进行重启",
"main": "index.html",
"version": "0.0.3",
"version": "0.0.4",
"author": "云之轩",
"homepage":"https://github.com/fofolee/uTools-ProcessKiller",
"logo": "logo.png",

View File

@ -41,7 +41,7 @@ tasklist = (callback) => {
dict[key] = value;
}
}
var icon = path.join(os.tmpdir(), 'ProcessIcon', `${dict.ProcessName}.png`);
var icon = path.join(os.tmpdir(), 'ProcessIcon', `${encodeURIComponent(dict.ProcessName)}.png`);
dict.Icon = icon
tasklist.push(dict);
}

View File

@ -1,15 +1,26 @@
# ProcessKiller V0.0.3
# ProcessKiller V0.0.4
### 简介
之所以做这个插件一方面是为了熟悉`uTools`的插件开发,另一方面对标`alfred`,实现类似的功能
~~目前还只是练手的版本,界面比较丑陋,大家将就着用~~
### 更新日志
**v0.0.4**
- 进入插件后列出所有进程
- 通过方向键进行列表选择,`enter`关闭进程,`shift+enter`重启进程
- 更改插件描述
- 重新进行`upx`打包
**v0.0.3**
- 增加右键重启进程的功能
**v0.0.2**
- 对界面重新排版,和`uTools`统一风格,增加进程图标,同时根据进程条目调整下拉框长度
- 获取进程命令由tasklist更换为powershell的get-process可以获取到进程的绝对地址和描述含中文相对直接显示进程名更加友好通过搜索进程名称和描述皆可以搜索到相应进程
- 增加右键重启进程的功能
### 功能
@ -24,12 +35,6 @@
以下为初版预览图(留作纪念~~)
![0.0.1](https://i.loli.net/2019/03/27/5c9ae373dd270.gif)
### 下载
[百度网盘](https://pan.baidu.com/s/1nfBnFLMdXisWATVYBKqONw) 提取码: `fmc6`
@ -40,7 +45,7 @@
### 安装方法
`asar`文件拖入`uTools`输入框中安装即可,需要重启`uTools`生效
`upx`文件拖入`uTools`输入框中安装即可
### 关键字
@ -51,7 +56,9 @@
- ~~UI改善~~
- ~~增加进程图标~~
- ~~列出进程详细信息~~
- 重启进程功能
- ~~重启进程功能~~
- ~~进入插件后列出所有进程~~
- ~~方向键进行列表选择~~
- 按内存排序
- 添加对 macOS 的支持

BIN
releases/88bcd0ea-0.0.4.upx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.