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
Supplement linux packaging error faq
Tw9321ef99fb18ef
diff --git a/docs/faq.md b/docs/faq.mdindex 221fa26a..a5897413 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -351,3 +351,32 @@ If your issue isn't covered here:- Node.js and Rust versions (`node --version`, `rustc --version`)- Complete error message- Build command you used++### Linux: Build fails with `Can't detect any appindicator library`++**Issue:**+When packaging on Linux, the build fails with the following error:++```txt+Can't detect any appindicator library+```++**Cause:**+This error means that your Linux system is missing `libappindicator`, a core library required to create system tray icons. Pake-packaged applications support the system tray feature, so this library is a required dependency.++**Solution:**+You need to install the missing development library on your Linux system.++- **For Debian / Ubuntu systems:**++ ```bash+ sudo apt-get update && sudo apt-get install -y libappindicator3-dev+ ```++- **For Fedora / CentOS / RHEL systems:**++ ```bash+ sudo dnf install -y libappindicator-devel+ ```++To ensure a complete build environment, we recommend installing all of Tauri's required dependencies at once. Please refer to the solution for the `failed to run linuxdeploy` issue in this document, which includes a comprehensive list of dependencies.diff --git a/docs/faq_CN.md b/docs/faq_CN.mdindex 7ecb8668..0b4a9720 100644--- a/docs/faq_CN.md+++ b/docs/faq_CN.md@@ -351,3 +351,32 @@ pnpm install -g pake-cli- Node.js 和 Rust 版本(`node --version`、`rustc --version`)- 完整的错误信息- 您使用的构建命令++### Linux: 打包失败,提示 `Can't detect any appindicator library`++**问题描述:**+在 Linux 上打包时,构建失败并显示以下错误:++```txt+Can't detect any appindicator library+```++**原因分析:**+这个错误表示您的 Linux 系统缺少创建“系统托盘图标”所需的核心库 `libappindicator`。Pake 打包的应用支持系统托盘功能,因此该库是必需的。++**解决方案:**+您需要在您的 Linux 系统上安装这个缺失的开发库。++- **对于 Debian / Ubuntu 系统:**++ ```bash+ sudo apt-get update && sudo apt-get install -y libappindicator3-dev+ ```++- **对于 Fedora / CentOS / RHEL 系统:**++ ```bash+ sudo dnf install -y libappindicator-devel+ ```++为了确保打包环境的完整性,推荐一次性安装所有 Tauri 所需的依赖。请参考本文档中关于 `failed to run linuxdeploy` 问题的解决方案,其中包含了完整的依赖列表。diff --git a/src-tauri/icons/icon.icns b/src-tauri/icons/icon.icnsindex 16a49209..4631bf05 100644Binary files a/src-tauri/icons/icon.icns and b/src-tauri/icons/icon.icns differdiff --git a/src-tauri/icons/icon.png b/src-tauri/icons/icon.pngindex 4ba1291d..b2c0b23a 100644Binary files a/src-tauri/icons/icon.png and b/src-tauri/icons/icon.png differ