feat(install): 更新自动安装脚本功能
- 添加 bash 脚本头标识 - 增加下载进度提示信息 - 为下载的脚本文件添加执行权限 - 集成自动安装流程执行 - 添加安装完成状态反馈
This commit is contained in:
parent
e16889d4a9
commit
6f92f315f3
|
|
@ -1,4 +1,14 @@
|
||||||
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/install.sh
|
#!/bin/bash
|
||||||
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/start.sh
|
echo "开始下载..."
|
||||||
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/update.sh
|
echo "下载安装脚本..."
|
||||||
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/uninstall.sh
|
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/install.sh && chmod +x install.sh
|
||||||
|
echo "下载启动脚本..."
|
||||||
|
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/start.sh && chmod +x start.sh
|
||||||
|
echo "下载更新脚本..."
|
||||||
|
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/update.sh && chmod +x update.sh
|
||||||
|
echo "下载卸载脚本..."
|
||||||
|
wget https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/sh/uninstall.sh && chmod +x uninstall.sh
|
||||||
|
echo "下载完成"
|
||||||
|
echo "开始安装..."
|
||||||
|
./install.sh
|
||||||
|
echo "安装完成"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue