@bghitcode/bghitapp 1.0.6 → 1.1.1

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
@@ -163,14 +163,6 @@ pnpm run build
163
163
 
164
164
  For style customization, feature enhancement, container communication and other advanced features, see [Advanced Usage Documentation](docs/advanced-usage.md).
165
165
 
166
- ## Developers
167
-
168
- BghitApp's development can not be without these Hackers. They contributed a lot of capabilities for BghitApp. Also, welcome to follow them! ❤️
169
-
170
- <a href="https://github.com/BghitCode/bghitapp/graphs/contributors">
171
- <img src="./CONTRIBUTORS.svg?v=2" alt="Contributors" width="1000" />
172
- </a>
173
-
174
166
  ## Support
175
167
 
176
168
  - If BghitApp helped you, [share it](https://twitter.com/intent/tweet?url=https://github.com/BghitCode/bghitapp&text=BghitApp%20-%20Turn%20any%20webpage%20into%20a%20desktop%20app%20with%20one%20command.%20Nearly%2020x%20smaller%20than%20Electron%20packages,%20supports%20macOS%20Windows%20Linux) with friends or give it a star.
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.6";
23
+ var version = "1.1.1";
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"
@@ -167,9 +167,9 @@ let tauriConfig = {
167
167
  bundle: platformConfig.bundle,
168
168
  app: {
169
169
  ...CommonConf.app,
170
- trayIcon: {
171
- ...(platformConfig?.app?.trayIcon ?? {}),
172
- },
170
+ ...(platformConfig?.app?.trayIcon
171
+ ? { trayIcon: { ...platformConfig.app.trayIcon } }
172
+ : {}),
173
173
  },
174
174
  build: CommonConf.build,
175
175
  bghitapp: bghitappConf,
@@ -2771,14 +2771,15 @@ function validateUrlInput(url) {
2771
2771
  return url;
2772
2772
  }
2773
2773
 
2774
- const { green, yellow } = chalk;
2774
+ const { green, yellow, gray } = chalk;
2775
2775
  const logo = `${green(' ____ _ _ _ _ ')}
2776
2776
  ${green('| __ ) __ _| |__ (_) |_ / \\ _ __ _ __ ')}
2777
2777
  ${green('| _ \\ / _` | \'_ \\| | __| / _ \\ | \'_ \\| \'_ \\ ')}
2778
2778
  ${green('| |_) | (_| | | | | | |_ / ___ \\| |_) | |_) |')}
2779
2779
  ${green('|____/ \\__, |_| |_|_|\\__/_/ \\_\\ .__/| .__/ ')}
2780
2780
  ${green(' |___/ |_| |_| ')}
2781
- ${yellow('https://github.com/BghitCode/bghitapp')}
2781
+ ${yellow('https://bghitcode.com')}
2782
+ ${gray('Turn any webpage into a desktop app — by BghitCode')}
2782
2783
  `;
2783
2784
  function getCliProgram() {
2784
2785
  return program$1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bghitcode/bghitapp",
3
- "version": "1.0.6",
3
+ "version": "1.1.1",
4
4
  "description": "🤱🏻 Turn any webpage into a desktop app with one command — by BghitCode.",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -4,11 +4,6 @@
4
4
  "version": "1.0.0",
5
5
  "app": {
6
6
  "withGlobalTauri": true,
7
- "trayIcon": {
8
- "iconPath": "png/weekly_512.png",
9
- "iconAsTemplate": false,
10
- "id": "bghitapp-tray"
11
- },
12
7
  "security": {
13
8
  "headers": {},
14
9
  "csp": null
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "bundle": {
3
- "icon": ["png/weekly_512.png"],
3
+ "icon": ["png/icon_512.png"],
4
4
  "active": true,
5
5
  "linux": {
6
6
  "deb": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "bundle": {
3
- "icon": ["png/weekly_256.ico", "png/weekly_32.ico"],
3
+ "icon": ["png/icon_256.ico", "png/icon_32.ico"],
4
4
  "active": true,
5
- "resources": ["png/weekly_32.ico"],
5
+ "resources": ["png/icon_32.ico"],
6
6
  "targets": ["msi"],
7
7
  "windows": {
8
8
  "digestAlgorithm": "sha256",