From d300ac8a16615846a13fc3af1cc82e3d424bb685 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 23 Jun 2023 19:16:38 +0800 Subject: [PATCH] :sparkles: update docs --- bin/README.md | 2 +- bin/README_CN.md | 8 ++++---- bin/helpers/merge.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/README.md b/bin/README.md index 47c4cd8..6ba58ec 100644 --- a/bin/README.md +++ b/bin/README.md @@ -93,7 +93,7 @@ Set the width of the application window. Default is `1200px`. #### [transparent] -Enable or disable immersive header. Default is `false`. Use the following command to enable this feature. +Enable or disable immersive header. Default is `false`. Use the following command to enable this feature, macOS only. ```shell --transparent diff --git a/bin/README_CN.md b/bin/README_CN.md index 5ca8152..e28be37 100644 --- a/bin/README_CN.md +++ b/bin/README_CN.md @@ -69,7 +69,7 @@ pake [url] [options] 指定应用程序的图标,支持本地或远程文件。默认使用 Pake 的内置图标。您可以访问 [icon-icons](https://icon-icons.com) 或 [macOSicons](https://macosicons.com/#/) 下载自定义图标。 -- MacOS 要求使用 `.icns` 格式。 +- macOS 要求使用 `.icns` 格式。 - Windows 要求使用 `.ico` 格式。 - Linux 要求使用 `.png` 格式。 @@ -95,7 +95,7 @@ pake [url] [options] #### [transparent] -设置是否启用沉浸式头部,默认为 `false`(不启用)。在 MacOS 上推荐启用此选项。 +设置是否启用沉浸式头部,默认为 `false`(不启用)。当前只对 macOS 上有效。 ```shell --transparent @@ -111,7 +111,7 @@ pake [url] [options] #### [multi-arch] -设置打包结果同时支持 Intel 和 M1 芯片,仅适用于 MacOS,默认为 `false`。 +设置打包结果同时支持 Intel 和 M1 芯片,仅适用于 macOS,默认为 `false`。 ##### 准备工作 @@ -153,7 +153,7 @@ Linux,默认为 `all`。 #### [show-menu] -设置是否显示菜单栏,默认不显示。在 MacOS 上推荐启用此选项。 +设置是否显示菜单栏,默认不显示。在 macOS 上推荐启用此选项。 ```shell --show-menu diff --git a/bin/helpers/merge.ts b/bin/helpers/merge.ts index 7259588..91f240c 100644 --- a/bin/helpers/merge.ts +++ b/bin/helpers/merge.ts @@ -121,7 +121,7 @@ export async function mergeConfig( fileExt: '.icns', path: `icons/${name.toLowerCase()}.icns`, defaultIcon: 'icons/icon.icns', - message: 'MacOS icon must be .icns type.', + message: 'macOS icon must be .icns type.', }, }; const iconInfo = platformIconMap[platform];