change-image-suffix 2.1.17 → 2.1.18

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.1.18](https://github.com/GuoSirius/change-image-suffix/compare/v2.1.17...v2.1.18) (2026-05-25)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove emojis from menu labels, remove MultiSelectModel ([a991d75](https://github.com/GuoSirius/change-image-suffix/commit/a991d7534416901746456d879a52fb5a4bc4661b))
11
+ * use %* with MultiSelectModel=Player for single-window multi-select ([4b5b94b](https://github.com/GuoSirius/change-image-suffix/commit/4b5b94be3128f9a438bfff099ccb53d3ef0ef683))
12
+
5
13
  ### [2.1.17](https://github.com/GuoSirius/change-image-suffix/compare/v2.1.16...v2.1.17) (2026-05-25)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -61,17 +61,17 @@ function installContextMenu() {
61
61
  const scriptPath = path.join(__dirname, 'index.js');
62
62
  // ── 格式列表(webp 排第一,其他按常见程度排序)──
63
63
  const formats = [
64
- { verb: 'webp', label: '🌀 WebP' },
65
- { verb: 'jpg', label: '📷 JPG' },
66
- { verb: 'png', label: '🖼 PNG' },
67
- { verb: 'avif', label: '📺 AVIF' },
68
- { verb: 'tiff', label: '📋 TIFF' },
64
+ { verb: 'webp', label: 'WebP' },
65
+ { verb: 'jpg', label: 'JPG' },
66
+ { verb: 'png', label: 'PNG' },
67
+ { verb: 'avif', label: 'AVIF' },
68
+ { verb: 'tiff', label: 'TIFF' },
69
69
  ];
70
70
  // ── 使用 ExtendedSubCommandsKey,直接调用 node.exe(无 bat 中转)──
71
71
  // AllFilesystemObjects 覆盖文件和目录,支持混合多选
72
72
  const menuBases = [
73
73
  { base: 'HKCU\\Software\\Classes\\Directory\\Background\\shell\\cis', subMenu: 'Directory\\ContextMenus\\cis', arg: '-p "%V"' },
74
- { base: 'HKCU\\Software\\Classes\\AllFilesystemObjects\\shell\\cis', subMenu: 'Directory\\ContextMenus\\cis_afo', arg: '"%1"', multiSelect: true },
74
+ { base: 'HKCU\\Software\\Classes\\AllFilesystemObjects\\shell\\cis', subMenu: 'Directory\\ContextMenus\\cis_afo', arg: '%*', multiSelect: true },
75
75
  ];
76
76
  // 1. 用 .reg 文件写子菜单(避免 cmd.exe 引号嵌套解析出错)
77
77
  const regLines = ['Windows Registry Editor Version 5.00', ''];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "change-image-suffix",
3
- "version": "2.1.17",
3
+ "version": "2.1.18",
4
4
  "type": "module",
5
5
  "description": "批量转换图片格式的CLI工具,支持递归搜索、深度限制、指定后缀、Windows右键菜单等功能",
6
6
  "main": "dist/index.js",