From cda0f2cc4a6ade517522f7f381089d04ead02ad2 Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Sat, 28 Jan 2023 13:54:43 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D:Modify=20the=20deployment=20script?= =?UTF-8?q?=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f101822..f185326 100644 --- a/README.md +++ b/README.md @@ -246,16 +246,10 @@ https://api.douyin.wtf/@evil0ctal/video/7156033831819037994 > 使用脚本一键部署本项目 -- 使用wget命令下载[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)至服务器 +- 使用wget命令下载[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)至服务器并运行 ``` -wget https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh -``` - -- 下载完成后使用root权限执行 - -``` -sudo sh install.sh +wget -O install.sh https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh && sudo bash install.sh ``` - 运行Bash脚本后会自动使用[config.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.py)来帮助你修改[config.ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)