1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-17 22:21:03 +08:00

📝 docs(readme): add parameter usage examples for script installation

- add tip section explaining parameter support for 1panel installation path and app selection
- provide example command with --1panel-path and --app parameters
- include both English and Chinese documentation updates
This commit is contained in:
pooneyy 2025-10-09 03:18:17 +08:00
parent 65a07859d6
commit 507ea67665
No known key found for this signature in database
2 changed files with 20 additions and 0 deletions

View File

@ -48,6 +48,16 @@ Dedicated to running various Docker applications with just one click. Enjoy conv
## 2. Usage
> [!TIP]
>
> 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
> curl -sSL https:// ... update_local_appstore.sh | bash -s -- --1panel-path /opt --app app_name_1 --app app_name_2
> ```
>
> **app_name must be the name of the folder below the repository app/**
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

View File

@ -47,6 +47,16 @@
## 2. 使用方式
> [!TIP]
>
> 当前脚本支持使用参数指定 1panel 的安装路径以及指定想导入的Apps。假如你的 1panel 安装在 /opt你只需要
>
> ```bash
> curl -sSL https:// ... update_local_appstore.sh | bash -s -- --1panel-path /opt --app app_name_1 --app app_name_2
> ```
>
> **app_name 必须是仓库 app/ 下面的文件夹名**
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
```shell