@bghitcode/bghitapp 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -144,6 +144,9 @@ bghitapp https://github.com --name GitHub
144
144
 
145
145
  # Advanced usage with custom options
146
146
  bghitapp https://example.com --name MyApp --width 1200 --height 800 --hide-title-bar
147
+
148
+ # See all available options
149
+ bghitapp --help
147
150
  ```
148
151
 
149
152
  First-time packaging requires environment setup and may be slower, subsequent builds are fast. For complete parameter documentation, see [CLI Usage Guide](docs/cli-usage.md). Don't want to use CLI? Try [GitHub Actions Online Building](docs/github-actions-usage.md).
package/dist/cli.js CHANGED
@@ -20,7 +20,7 @@ import { InvalidArgumentError, program as program$1, Option } from 'commander';
20
20
  import fs$1 from 'fs';
21
21
 
22
22
  var name = "@bghitcode/bghitapp";
23
- var version = "1.1.3";
23
+ var version = "1.1.5";
24
24
  var description = "🤱🏻 Turn any webpage into a desktop app with one command — by BghitCode.";
25
25
  var engines = {
26
26
  node: ">=18.0.0"
@@ -2843,7 +2843,7 @@ function getCliProgram() {
2843
2843
  .default(DEFAULT_BGHITAPP_OPTIONS.hideOnClose)
2844
2844
  .argParser((value) => {
2845
2845
  if (value === undefined)
2846
- return true; // --hide-on-close without value
2846
+ return true;
2847
2847
  if (value === 'true')
2848
2848
  return true;
2849
2849
  if (value === 'false')
@@ -2922,14 +2922,11 @@ function getCliProgram() {
2922
2922
  .default(DEFAULT_BGHITAPP_OPTIONS.microphone)
2923
2923
  .hideHelp())
2924
2924
  .addOption(new Option('--splash <path_or_url>', 'Splash screen image (local path or URL)')
2925
- .default(DEFAULT_BGHITAPP_OPTIONS.splash)
2926
- .hideHelp())
2925
+ .default(DEFAULT_BGHITAPP_OPTIONS.splash))
2927
2926
  .addOption(new Option('--auto-splash', 'Auto-fetch og:image from target URL for splash')
2928
- .default(DEFAULT_BGHITAPP_OPTIONS.autoSplash)
2929
- .hideHelp())
2927
+ .default(DEFAULT_BGHITAPP_OPTIONS.autoSplash))
2930
2928
  .addOption(new Option('--offline', 'Enable offline fallback page')
2931
- .default(DEFAULT_BGHITAPP_OPTIONS.offline)
2932
- .hideHelp())
2929
+ .default(DEFAULT_BGHITAPP_OPTIONS.offline))
2933
2930
  .version(packageJson.version, '-v, --version')
2934
2931
  .configureHelp({
2935
2932
  sortSubcommands: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bghitcode/bghitapp",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "🤱🏻 Turn any webpage into a desktop app with one command — by BghitCode.",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"