热更脚本修改

main
PC-202302260912\Administrator 2023-08-16 10:36:21 +08:00
parent 0ac188ab20
commit d176d01eeb
1 changed files with 2 additions and 0 deletions

View File

@ -130,10 +130,12 @@ gm_send_package() {
if is_valid_ip "$channel"; then
unzip_package $channel $package $source_tar $destination_dir
restart_server "admin" $channel
else
for ip in $(awk '{print $2}' "txt/$channel")
do
unzip_package $ip $package $source_tar $destination_dir
restart_server "admin" $ip
done
fi
}