From 507ea6766516a1ed1387140c38564eca894f85be Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Thu, 9 Oct 2025 03:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(readme):=20add=20parameter?= =?UTF-8?q?=20usage=20examples=20for=20script=20installation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- README-en.md | 10 ++++++++++ README.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README-en.md b/README-en.md index 777ef70f1..977429ab5 100644 --- a/README-en.md +++ b/README-en.md @@ -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 diff --git a/README.md b/README.md index 8d7782ea4..c8db0f631 100644 --- a/README.md +++ b/README.md @@ -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