@cowwo/dsh-icon-custom 0.2.0 → 0.2.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
@@ -25,6 +25,10 @@ Tick **同时替换 PWA 安装图标** (checked state is remembered per icon) to
25
25
 
26
26
  ![PWA install icon option](./docs/pwa-option.png)
27
27
 
28
+ When the site is installed as an app, the browser's install dialog picks the custom icon up:
29
+
30
+ ![PWA install dialog](./docs/install-dialog.png)
31
+
28
32
  Notes:
29
33
 
30
34
  - The option is **off by default**: without it, behavior is identical to before and the platform manifest is served verbatim.
package/README.zh.md CHANGED
@@ -25,6 +25,10 @@ dsh plugin --profile web add dsh-icon-custom
25
25
 
26
26
  ![同时替换 PWA 安装图标选项](./docs/pwa-option.png)
27
27
 
28
+ 把网页「安装为应用」时,浏览器弹出的安装对话框也会显示你的图标:
29
+
30
+ ![PWA 安装对话框](./docs/install-dialog.png)
31
+
28
32
  说明:
29
33
 
30
34
  - 该选项**默认不勾选**:不勾选时行为与之前完全一致,平台 manifest 原样透传。
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowwo/dsh-icon-custom",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "自定义浏览器标签页图标:在设置页上传 SVG/PNG/ICO,立即生效并持久保存。· Custom browser tab favicon: upload SVG/PNG/ICO from the settings page, applies instantly and persists.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -58,6 +58,7 @@
58
58
  "client",
59
59
  "cordis.patch.yml",
60
60
  "docs/pwa-option.png",
61
+ "docs/install-dialog.png",
61
62
  "README.md",
62
63
  "README.zh.md",
63
64
  "LICENSE"