Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

Auto-fix formatting issues

GitHub Actionccdea61314d9
diff --git a/docs/advanced-usage_CN.md b/docs/advanced-usage_CN.md
index 9ec9c072..67cef515 100644
--- a/docs/advanced-usage_CN.md
+++ b/docs/advanced-usage_CN.md
@@ -45,6 +45,7 @@ document.addEventListener("keydown", (e) => {
Pake 自动提供用户友好的下载错误通知:
**功能特性:**
+
- **双语支持**:自动检测浏览器语言(中文/英文)
- **系统通知**:在授予权限后使用原生操作系统通知
- **优雅降级**:如果通知不可用则降级到控制台日志
@@ -53,6 +54,7 @@ Pake 自动提供用户友好的下载错误通知:
**用户体验:**
当下载失败时,用户将看到通知:
+
- 英文:"Download Error - Download failed: filename.pdf"
- 中文:"下载错误 - 下载失败: filename.pdf"
@@ -68,6 +70,7 @@ if (window.Notification && Notification.permission === "default") {
```
下载系统自动处理:
+
- 常规 HTTP(S) 下载
- Data URI 下载(base64 编码文件)
- Blob URL 下载(动态生成的文件)