文档 · 从源码构建 · 构建应用

构建应用

如何构建适用于电脑的应用安装包。

构建应用

source scripts/build-env.sh               # the tools and system libraries, once per shell
scripts/tauri.sh space build              # installers and packages in data/target/release/bundle/
scripts/tauri.sh space build --no-bundle  # the program only: data/target/release/veydanspace

只使用 scripts/ 文件夹中的脚本进行构建:它们会为构建工具设置好路径。scripts/dev.sh 和 scripts/update.sh 会自行加载 build-env.sh。

在 Linux 上,scripts/update.sh space 命令会构建程序,并为你的用户安装它,同时创建菜单项。