@bghitcode/bghitapp 1.0.3 → 1.0.4

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/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.0.3";
23
+ var version = "1.0.4";
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"
@@ -2771,14 +2771,14 @@ function validateUrlInput(url) {
2771
2771
  return url;
2772
2772
  }
2773
2773
 
2774
- function getCliProgram() {
2775
- const { green, yellow } = chalk;
2776
- const logo = `${chalk.green(' ____ _')}
2774
+ const { green, yellow } = chalk;
2775
+ const logo = `${green(' ____ _')}
2777
2776
  ${green('| _ \\ __ _| | _____')}
2778
2777
  ${green('| |_) / _` | |/ / _ \\')}
2779
2778
  ${green('| __/ (_| | < __/')} ${yellow('https://github.com/BghitCode/bghitapp')}
2780
2779
  ${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with Rust.')}
2781
2780
  `;
2781
+ function getCliProgram() {
2782
2782
  return program$1
2783
2783
  .addHelpText('beforeAll', logo)
2784
2784
  .usage(`[url] [options]`)
@@ -2951,6 +2951,7 @@ async function checkUpdateTips() {
2951
2951
  }
2952
2952
  program.action(async (url, options) => {
2953
2953
  try {
2954
+ console.log(logo);
2954
2955
  await checkUpdateTips();
2955
2956
  if (!url) {
2956
2957
  program.help({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bghitcode/bghitapp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "🤱🏻 Turn any webpage into a desktop app with one command — by BghitCode.",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -53,7 +53,6 @@ custom-protocol = ["tauri/custom-protocol"]
53
53
 
54
54
  [profile.release]
55
55
  panic = "abort"
56
- codegen-units = 1
57
56
  lto = "thin"
58
- opt-level = "z"
57
+ opt-level = 2
59
58
  strip = true