Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix(action): match only the app bundle on macos and document the output rule
youxi79844ea73363444
diff --git a/action.yml b/action.ymlindex 8b256e44..6d5ecae5 100644--- a/action.yml+++ b/action.yml@@ -113,7 +113,7 @@ runs:case "$RUNNER_OS" inWindows) PACKAGE_EXTS=(msi) ;;Linux) PACKAGE_EXTS=(deb rpm AppImage) ;;- macOS) PACKAGE_EXTS=(app dmg) ;;+ macOS) PACKAGE_EXTS=(app) ;;*)echo "❌ Unsupported runner OS: $RUNNER_OS" >&2exit 1diff --git a/docs/pake-action.md b/docs/pake-action.mdindex ce71be81..0c349a77 100644--- a/docs/pake-action.md+++ b/docs/pake-action.md@@ -92,11 +92,11 @@ jobs:## Supported Platforms-- **Linux**: `.deb` package (Ubuntu runners)+- **Linux**: `.deb` package, or `.rpm` / `.AppImage` when that is the one that built (Ubuntu runners)- **macOS**: `.app` bundle (macOS runners)-- **Windows**: `.msi` or `.exe` (Windows runners)+- **Windows**: `.msi` installer (Windows runners)-Each run moves only the first package it finds into the output directory and reports it as `package-path`. Use GitHub's matrix strategy to build for multiple platforms simultaneously.+Each run moves the one package the CLI wrote during that run into the output directory and reports it as `package-path`; when two packages of the same format turn up, the step fails instead of guessing. Use GitHub's matrix strategy to build for multiple platforms simultaneously.## Related Documentationdiff --git a/docs/pake-action_CN.md b/docs/pake-action_CN.mdindex 91063018..a1322a30 100644--- a/docs/pake-action_CN.md+++ b/docs/pake-action_CN.md@@ -92,11 +92,11 @@ jobs:## 支持平台-- **Linux**:`.deb` 安装包(Ubuntu 运行器)+- **Linux**:`.deb` 安装包,只打出 `.rpm` 或 `.AppImage` 时用那一个(Ubuntu 运行器)- **macOS**:`.app` 应用(macOS 运行器)-- **Windows**:`.msi` 或 `.exe`(Windows 运行器)+- **Windows**:`.msi` 安装包(Windows 运行器)-每次运行只把找到的第一个安装包移到输出目录并写入 `package-path`,可结合 GitHub Actions 的 `matrix` 策略并发构建全平台安装包。+每次运行把 CLI 本次写出的那个安装包移到输出目录并写入 `package-path`,同一格式出现两个包时直接报错而不是随便挑一个,可结合 GitHub Actions 的 `matrix` 策略并发构建全平台安装包。## 相关文档