Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

docs: update dark-mode option description for cross-platform support

Marvin Galdamez44936ac82807
diff --git a/bin/helpers/cli-program.ts b/bin/helpers/cli-program.ts
index a806f13f..cbc6ef40 100644
--- a/bin/helpers/cli-program.ts
+++ b/bin/helpers/cli-program.ts
@@ -103,7 +103,7 @@ ${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with
.hideHelp(),
)
.addOption(
- new Option('--dark-mode', 'Force Mac app to use dark mode')
+ new Option('--dark-mode', 'Force app to use dark mode (supports macOS, Windows, and Linux)')
.default(DEFAULT.darkMode)
.hideHelp(),
)
diff --git a/bin/types.ts b/bin/types.ts
index bd966477..b6318be4 100644
--- a/bin/types.ts
+++ b/bin/types.ts
@@ -38,7 +38,7 @@ export interface PakeCliOptions {
// App version, the same as package.json version, default 1.0.0
appVersion: string;
- // Force Mac to use dark mode, default false
+ // Force app to use dark mode (supports macOS, Windows, and Linux), default false
darkMode: boolean;
// Disable web shortcuts, default false
diff --git a/dist/cli.js b/dist/cli.js
index 9602cc5a..0c48fab6 100644
--- a/dist/cli.js
+++ b/dist/cli.js
@@ -2685,7 +2685,7 @@ ${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with
.addOption(new Option('--maximize', 'Start window maximized')
.default(DEFAULT_PAKE_OPTIONS.maximize)
.hideHelp())
- .addOption(new Option('--dark-mode', 'Force Mac app to use dark mode')
+ .addOption(new Option('--dark-mode', 'Force app to use dark mode (supports macOS, Windows, and Linux)')
.default(DEFAULT_PAKE_OPTIONS.darkMode)
.hideHelp())
.addOption(new Option('--disabled-web-shortcuts', 'Disabled webPage shortcuts')
diff --git a/docs/cli-usage.md b/docs/cli-usage.md
index 263135f4..78336e3b 100644
--- a/docs/cli-usage.md
+++ b/docs/cli-usage.md
@@ -218,7 +218,7 @@ Set the version number of the packaged application to be consistent with the nam
#### [dark-mode]
-Force Mac to package applications using dark mode, default is `false`.
+Force packaging applications using dark mode (supports macOS, Windows, and Linux), default is `false`.
```shell
--dark-mode
diff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.md
index dccacf9c..58fde523 100644
--- a/docs/cli-usage_CN.md
+++ b/docs/cli-usage_CN.md
@@ -216,7 +216,7 @@ pake https://github.com --name GitHub
#### [dark-mode]
-强制 Mac 打包应用使用黑暗模式,默认为 `false`。
+强制打包应用使用黑暗模式(支持 macOS、Windows 和 Linux),默认为 `false`。
```shell
--dark-mode