linglong/docs/pages/guide/publishing/repositories.md

14 lines
1020 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 仓库
如意玲珑官方提供的仓库是发布应用程序的主要机制,以便用户可以更方便的安装应用, 目前安装完玲珑组件后, 会默认使用此仓库。
- 仓库的一些基本概念已经在[仓库基础概念](../reference/basic-concepts.md)介绍过;
- 添加、更新、删除仓库可以使用 `ll-cli repo` 命令, 具体用法请参考[ll-cli-repo(1)](../reference/commands/ll-cli/repo.md)
- 使用自托管仓库:待补充;
## 发布更新
如意玲珑仓库与Git仓库类似它们通过记录每个版本之间的差异来存储应用程序的每个版本。这使得更新变得高效因为当执行更新时只需要下载两个版本之间的差异或“增量”
当将应用程序的新版本添加到仓库中时,它立即对用户可用。应用商店能够自动检查并安装新版本。使用命令行必须手动运行`ll-cli list --upgradable`来检查并使用`ll-cli update`将已安装的应用程序更新到新版本。