From f6223869cf4b666c8ff02ec377b841de97a88359 Mon Sep 17 00:00:00 2001 From: Tlntin Date: Thu, 29 Dec 2022 00:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0pake-cli=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/README.md | 14 +++++++------- bin/README_EN.md | 10 +++++----- bin/cli.ts | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/README.md b/bin/README.md index bf10e65..e147791 100644 --- a/bin/README.md +++ b/bin/README.md @@ -67,7 +67,7 @@ url 为你需要打包的网页链接 🔗,必须提供。 #### [transparent] -是否开启沉浸式头部,默认为 `false` 不开启。 +是否开启沉浸式头部,默认为 `false` 不开启,输入下面的命令则开启沉浸式,推荐MacOS用户开启。 ```shell --transparent @@ -75,7 +75,7 @@ url 为你需要打包的网页链接 🔗,必须提供。 #### [resize] -是否可以拖动大小,默认为 `true` 可拖动。 +是否可以拖动大小,默认为 `true` 可拖动,输入下面的命令则不能对窗口大小进行拉伸。 ```shell --no-resizable @@ -83,10 +83,10 @@ url 为你需要打包的网页链接 🔗,必须提供。 #### [fullscreen] -打开应用后是否开启全屏,默认为 `false`。 +打开应用后是否开启全屏,默认为 `false`,输入下面的命令则会自动全屏。 ```shell ---fullscreen +--fullscreen ``` #### [user-agent] @@ -99,7 +99,7 @@ url 为你需要打包的网页链接 🔗,必须提供。 #### [show-menu] -显示菜单栏, 默认不显示 +显示菜单栏, 默认不显示,输入下面的命令则会显示,推荐MacOS用户开启。 ```shell --show-menu @@ -107,10 +107,10 @@ url 为你需要打包的网页链接 🔗,必须提供。 #### [show-system-tray] -显示通知栏托盘, 默认不显示 +显示通知栏托盘, 默认不显示,输入下面的命令则会显示。 ```shell ---show-system-tray +--show-system-tray ``` #### [system-tray-icon] diff --git a/bin/README_EN.md b/bin/README_EN.md index e205b6c..754f135 100644 --- a/bin/README_EN.md +++ b/bin/README_EN.md @@ -66,7 +66,7 @@ The width of the packaged application window. The default is `1200px`. #### [transparent] -Whether to enable the immersive header. The default is `false`. +Whether to enable the immersive header. The default is `false`, enter the following command to enable immersive, recommended for MacOS users to enable ```shell --transparent @@ -74,7 +74,7 @@ Whether to enable the immersive header. The default is `false`. #### [resize] -Whether the size can be dragged. The default value is `true`. +Whether the size can be dragged. The default value is `true`, the window size cannot be stretched by entering the following command. ```shell --no-resizable @@ -82,7 +82,7 @@ Whether the size can be dragged. The default value is `true`. #### [fullscreen] -Whether to open the full screen after opening the application. The default is `false`. +Whether to open the full screen after opening the application. The default is `false`, enter the following command to automatically full screen ```shell --fullscreen @@ -98,7 +98,7 @@ Custom browser user agent, default is empty. #### [show-menu] -Display the menu bar, not display it by default. +Display the menu bar, not display it by default, enter the following command and it will be displayed. MacOS users are recommended to enable. ```shell --show-menu @@ -106,7 +106,7 @@ Display the menu bar, not display it by default. #### [show-system-tray] -Display the notification tray, not display it by default. +Display the notification tray, not display it by default, entering the following command will display. ```shell --show-system-tray diff --git a/bin/cli.ts b/bin/cli.ts index 174564a..9c7eacf 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -48,7 +48,7 @@ program await builder.prepare(); const appOptions = await handleInputOptions(options, url); - // logger.warn(JSON.stringify(appOptions, null, 4)); + logger.warn(JSON.stringify(appOptions, null, 4)); builder.build(url, appOptions); });