Skip to content

Commit 04a329e

Browse files
committed
✨ 添加退出快捷键,添加开发说明
1 parent dd0b012 commit 04a329e

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ Linux Command 桌面版 ![](https://img.shields.io/npm/l/whistle.svg?style=flat-
77

88
<br>
99

10+
## 快速上手
11+
12+
### 依赖安装
13+
```shell
14+
yarn
15+
```
16+
17+
### 构建静态页面
18+
```shell
19+
yarn build
20+
```
21+
22+
### 启动
23+
```shell
24+
yarn start
25+
```
26+
### 打包
27+
```
28+
yarn pack
29+
```
30+
1031
## 说明
1132
基于 [jaywcjlove/linux-command](https://github.com/jaywcjlove/linux-command) web 版本制作的桌面版应用。
1233

menu.js

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ let template = [{
2828
label: '全选',
2929
accelerator: 'CmdOrCtrl+A',
3030
role: 'selectall'
31+
}, {
32+
label: '退出',
33+
accelerator: 'CmdOrCtrl+Q',
34+
role: 'quit'
3135
}]
3236
}, {
3337
label: '查看',

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linux-command",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Linux Command",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)