Skip to content

Commit

Permalink
tmpl: provide template for new-world-ready apps
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao authored and MingcongBai committed Mar 7, 2024
1 parent e90803b commit ee51007
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 1 addition & 8 deletions content/docs/apps/loongapps/1088.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,5 @@ debName: "http://113.24.212.22:8090/upload/file/firefox_68.12.4-1_loongarch64.de
debSize: "49.3MB"
command: "firefox %u"
compatibility: 4
x-aosc-pkg-name: "firefox"
---

{{< install aosc >}}
请使用如下命令安装社区官方提供的 Firefox:

```
oma install firefox
```
{{< /install >}}
10 changes: 10 additions & 0 deletions layouts/partials/apps/install-os/aosc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{{ if (not (eq (int .Params.compatibility) 4) )}}
1. 从 [{{ partial "apputils/downloadurl" . }}]({{ partial "apputils/downloadurl" . }}) 下载软件包
2. 安装软件包

```bash
oma install "{{ partial "apputils/debname" . | safeHTML }}"
```
{{ else if (index .Params "x-aosc-pkg-name") }}
请使用如下命令安装社区提供的软件包:

```bash
oma install "{{ index .Params "x-aosc-pkg-name" | safeHTML}}"
```
{{ else }}
暂无
{{ end }}

0 comments on commit ee51007

Please sign in to comment.