1
0
Fork 0

docs(readme): update installation command syntax

- change curl pipe bash syntax to bash process substitution
- improve command formatting with line continuation for multi-parameter usage
- apply changes to both English and Chinese README files consistently
This commit is contained in:
pooneyy 2026-02-28 10:00:54 +08:00
parent b25976f7b9
commit 2792006d21
No known key found for this signature in database
2 changed files with 16 additions and 10 deletions

View File

@ -57,7 +57,10 @@ Dedicated to running various Docker applications with just one click. Enjoy conv
> The current script supports specifying the installation path for 1panel using parameters, as well as specifying the Apps to be imported. If your 1panel is installed in /opt, you just need to: > The current script supports specifying the installation path for 1panel using parameters, as well as specifying the Apps to be imported. If your 1panel is installed in /opt, you just need to:
> >
> ```bash > ```bash
> curl -sSL https:// ... update_local_appstore.sh | bash -s -- --1panel-path /opt --app app_name_1 --app app_name_2 > bash <(curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh) \
> --1panel-path /opt \
> --app app_name_1 \
> --app app_name_2
> ``` > ```
> >
> **app_name must be the name of the folder below the repository apps** > **app_name must be the name of the folder below the repository apps**
@ -65,19 +68,19 @@ Dedicated to running various Docker applications with just one click. Enjoy conv
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal: In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
```shell ```shell
curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash bash <(curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh)
``` ```
jsdelivr jsdelivr
```shell ```shell
curl -sSL https://fastly.jsdelivr.net/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh | bash bash <(curl -sSL https://fastly.jsdelivr.net/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh)
``` ```
JSDMirror(Tencent EdgeOne) JSDMirror(Tencent EdgeOne)
```shell ```shell
curl -sSL https://cdn.jsdmirror.com/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh | bash bash <(curl -sSL https://cdn.jsdmirror.com/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh)
``` ```
gh-proxy.com(Cloudflare) gh-proxy.com(Cloudflare)
```shell ```shell
curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash bash <(curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh)
``` ```
Then refresh the local applications in the app store. Then refresh the local applications in the app store.

View File

@ -56,7 +56,10 @@
> 当前脚本支持使用参数指定 1panel 的安装路径以及指定想导入的Apps。假如你的 1panel 安装在 /opt你只需要 > 当前脚本支持使用参数指定 1panel 的安装路径以及指定想导入的Apps。假如你的 1panel 安装在 /opt你只需要
> >
> ```bash > ```bash
> curl -sSL https:// ... update_local_appstore.sh | bash -s -- --1panel-path /opt --app app_name_1 --app app_name_2 > bash <(curl -sSL https://fastly.jsdelivr.net/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh) \
> --1panel-path /opt \
> --app app_name_1 \
> --app app_name_2
> ``` > ```
> >
> **app_name 必须是仓库 apps 下面的文件夹名** > **app_name 必须是仓库 apps 下面的文件夹名**
@ -64,19 +67,19 @@
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令, `1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
```shell ```shell
curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash bash <(curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh)
``` ```
jsdelivr jsdelivr
```shell ```shell
curl -sSL https://fastly.jsdelivr.net/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh | bash bash <(curl -sSL https://fastly.jsdelivr.net/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh)
``` ```
JSDMirror(Tencent EdgeOne) JSDMirror(Tencent EdgeOne)
```shell ```shell
curl -sSL https://cdn.jsdmirror.com/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh | bash bash <(curl -sSL https://cdn.jsdmirror.com/gh/pooneyy/1Panel-Appstore@script/update_local_appstore.sh)
``` ```
gh-proxy.com(Cloudflare) gh-proxy.com(Cloudflare)
```shell ```shell
curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash bash <(curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh)
``` ```
然后应用商店刷新本地应用即可。 然后应用商店刷新本地应用即可。