📝 Document usage is more idiomatic

This commit is contained in:
Tw93
2025-08-22 22:21:54 +08:00
parent bf12d85dc5
commit 3868e993ce
7 changed files with 17 additions and 19 deletions

6
bin/README.md vendored
View File

@@ -123,7 +123,7 @@ screen.
#### [activation-shortcut]
Set the activation shortcut for the application. Default is ` `, it does not take effect, you can customize the activation shortcut with the following commands, e.g. `CmdOrControl+Shift+P`, use can refer to [available-modifiers](https://www.electronjs.org/docs/latest/api/accelerator#available-modifiers).
Set the activation shortcut for the application. Default is empty, so it does not take effect. You can customize the activation shortcut with the following commands, e.g. `CmdOrControl+Shift+P`. Usage can refer to [available-modifiers](https://www.electronjs.org/docs/latest/api/accelerator#available-modifiers).
```shell
--activation-shortcut <string>
@@ -188,7 +188,7 @@ Package the application to support both Intel and M1 chips, exclusively for macO
#### [targets]
Choose the output package format, supporting `deb`, `appimage`, `rpm`, This option is only applicable to Linux and defaults to `deb`.
Choose the output package format, supporting `deb`, `appimage`, `rpm`. This option is only applicable to Linux and defaults to `deb`.
```shell
--targets <format>
@@ -290,7 +290,7 @@ Set proxy server for all network requests. Supports HTTP, HTTPS, and SOCKS5. Ava
#### [debug]
The typed package has dev-tools for debugging, in addition to outputting more log messages for debugging.
The packaged application has dev-tools for debugging, in addition to outputting more log messages for debugging.
```shell
--debug

6
bin/README_CN.md vendored
View File

@@ -256,9 +256,7 @@ pake [url] [options]
#### [use-local-file]
当 `url` 为本地文件路径时,如果启用此选项,则会递归地将 `url` 路径文件所在的文件夹及其所有子文件复
制到 Pake 的静态文件夹。默认不启用。
当 `url` 为本地文件路径时,如果启用此选项,则会递归地将 `url` 路径文件所在的文件夹及其所有子文件复制到 Pake 的静态文件夹。默认不启用。
```shell
--use-local-file
@@ -292,7 +290,7 @@ pake [url] [options]
#### [debug]
打出来的包具备 deb-tools 的调试模式,此外还会输出更多的日志信息用于调试。
打出来的包具备 dev-tools 的调试模式,此外还会输出更多的日志信息用于调试。
```shell
--debug