安装
从 GitHub Releases 页面 下载最新版本。Moraya 提供 macOS、Windows 和 Linux 的安装包。
macOS
下载 .dmg 文件并打开。将 Moraya.app 拖入 /Applications 文件夹。
open moraya_x.y.z_macos.dmg
# 将 Moraya.app 拖入 /Applications
注意: 首次启动时,macOS 可能会弹出安全提示。前往 系统设置 > 隐私与安全性,点击”仍要打开”。
Windows
下载 .msi 安装程序并运行。按照安装向导的提示完成安装。
# 运行 .msi 安装程序
# 按照屏幕上的指引操作
Linux
下载 .AppImage 文件,添加可执行权限后运行:
chmod +x moraya_x.y.z_linux_x64.AppImage
./moraya_x.y.z_linux_x64.AppImage
系统要求
| 平台 | 最低版本 | 架构 |
|---|---|---|
| macOS | 11.0 (Big Sur) | Intel 和 Apple Silicon |
| Windows | 10 (1803+) | x64 |
| Linux | Ubuntu 20.04+ | x64 |
从源码构建
Moraya 可以从源码构建。你需要安装 Rust、Node.js 和 pnpm。
git clone https://github.com/zouwei/moraya.git
cd moraya
pnpm install
pnpm tauri build
输出的二进制文件位于 src-tauri/target/release/bundle/。