mirror of
https://github.com/wcwq98/realm.git
synced 2025-01-22 12:58:14 -05:00
更新可视化面板
This commit is contained in:
parent
4989159ee6
commit
2db941275d
4
realm.sh
4
realm.sh
@ -6,7 +6,7 @@ green="\033[0;32m"
|
|||||||
plain="\033[0m"
|
plain="\033[0m"
|
||||||
|
|
||||||
# 脚本版本
|
# 脚本版本
|
||||||
sh_ver="1.3"
|
sh_ver="2.0"
|
||||||
|
|
||||||
# 初始化环境目录
|
# 初始化环境目录
|
||||||
init_env() {
|
init_env() {
|
||||||
@ -126,7 +126,7 @@ Update_Shell() {
|
|||||||
# 检查依赖
|
# 检查依赖
|
||||||
check_dependencies() {
|
check_dependencies() {
|
||||||
echo "正在检查当前环境依赖"
|
echo "正在检查当前环境依赖"
|
||||||
local dependencies=("wget" "tar" "systemctl" "sed" "grep")
|
local dependencies=("wget" "tar" "systemctl" "sed" "grep" "curl")
|
||||||
|
|
||||||
for dep in "${dependencies[@]}"; do
|
for dep in "${dependencies[@]}"; do
|
||||||
if ! command -v "$dep" &> /dev/null; then
|
if ! command -v "$dep" &> /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user