@ffflorian/electron-icon-generator 1.7.9 → 1.7.11

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +3 -3
package/dist/cli.js CHANGED
@@ -5,10 +5,10 @@ import { program as commander } from 'commander';
5
5
  import { IconGenerator } from './index.js';
6
6
  const __dirname = import.meta.dirname;
7
7
  const packageJsonPath = path.join(__dirname, '../package.json');
8
- const { bin, description, version } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
8
+ const { description, name, version } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
9
9
  commander
10
+ .name(name.replace(/^@[^/]+\//, ''))
10
11
  .description(description)
11
- .name(Object.keys(bin)[0])
12
12
  .version(version)
13
13
  .option('-i, --input <file>', 'Input PNG file (recommended size: 1024x1024)', './icon.png')
14
14
  .option('-o, --output <folder>', 'Folder to output new icons folder', './')
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "@types/fs-extra": "11.0.4",
13
13
  "@types/pngjs": "6.0.5",
14
14
  "rimraf": "6.0.1",
15
- "typescript": "5.9.2"
15
+ "typescript": "5.9.3"
16
16
  },
17
17
  "engines": {
18
18
  "node": ">= 18.0"
@@ -40,6 +40,6 @@
40
40
  "test": "exit 0"
41
41
  },
42
42
  "type": "module",
43
- "version": "1.7.9",
44
- "gitHead": "c0316bba201f940523cf3a07f74e31cad3890333"
43
+ "version": "1.7.11",
44
+ "gitHead": "94d97abc477f53014bb009cd52828133a55052b3"
45
45
  }