pake-cli 3.7.2 โ†’ 3.7.3

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
@@ -22,7 +22,7 @@ import * as psl from 'psl';
22
22
  import { InvalidArgumentError, program as program$1, Option } from 'commander';
23
23
 
24
24
  var name = "pake-cli";
25
- var version = "3.7.2";
25
+ var version = "3.7.3";
26
26
  var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with one command. ๐Ÿคฑ๐Ÿป ไธ€้”ฎๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆ่ฝป้‡ๆกŒ้ขๅบ”็”จใ€‚";
27
27
  var engines = {
28
28
  node: ">=18.0.0"
@@ -111,7 +111,11 @@ var devDependencies = {
111
111
  var pnpm = {
112
112
  overrides: {
113
113
  sharp: "^0.34.5"
114
- }
114
+ },
115
+ onlyBuiltDependencies: [
116
+ "esbuild",
117
+ "sharp"
118
+ ]
115
119
  };
116
120
  var packageJson = {
117
121
  name: name,
@@ -1640,6 +1644,14 @@ async function handleIcon(options, url) {
1640
1644
  const result = await processIcon(resolvedPath, options.name || '');
1641
1645
  return result || resolvedPath;
1642
1646
  }
1647
+ // Check for existing local icon before downloading
1648
+ if (options.name) {
1649
+ const localIconPath = generateIconPath(options.name);
1650
+ if (await fsExtra.pathExists(localIconPath)) {
1651
+ logger.info(`โœผ Using existing local icon: ${localIconPath}`);
1652
+ return localIconPath;
1653
+ }
1654
+ }
1643
1655
  // Try favicon from website
1644
1656
  if (url && options.name) {
1645
1657
  const faviconPath = await tryGetFavicon(url, options.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with one command. ๐Ÿคฑ๐Ÿป ไธ€้”ฎๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆ่ฝป้‡ๆกŒ้ขๅบ”็”จใ€‚",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -89,6 +89,10 @@
89
89
  "pnpm": {
90
90
  "overrides": {
91
91
  "sharp": "^0.34.5"
92
- }
92
+ },
93
+ "onlyBuiltDependencies": [
94
+ "esbuild",
95
+ "sharp"
96
+ ]
93
97
  }
94
98
  }
@@ -2539,7 +2539,7 @@ dependencies = [
2539
2539
 
2540
2540
  [[package]]
2541
2541
  name = "pake"
2542
- version = "3.7.2"
2542
+ version = "3.7.3"
2543
2543
  dependencies = [
2544
2544
  "serde",
2545
2545
  "serde_json",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "pake"
3
- version = "3.7.2"
3
+ version = "3.7.3"
4
4
  description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust."
5
5
  authors = ["Tw93"]
6
6
  license = "MIT"
@@ -2,6 +2,9 @@
2
2
  "bundle": {
3
3
  "icon": ["icons/weekly.icns"],
4
4
  "active": true,
5
- "targets": ["dmg"]
5
+ "targets": ["dmg"],
6
+ "macOS": {
7
+ "signingIdentity": "-"
8
+ }
6
9
  }
7
10
  }