diff --git a/README-en.md b/README-en.md index 2c76db219..927d36b5b 100644 --- a/README-en.md +++ b/README-en.md @@ -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: > > ```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** @@ -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: ```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 ```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) ```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) ```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. diff --git a/README.md b/README.md index efb347d6d..08a7c531a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,10 @@ > 当前脚本支持使用参数指定 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 +> 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 下面的文件夹名** @@ -64,19 +67,19 @@ `1Panel`计划任务类型`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 ```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) ```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) ```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) ``` 然后应用商店刷新本地应用即可。