Update install.sh

This commit is contained in:
Mr Chen 2024-07-11 04:37:55 +08:00
parent a53ad5d1b1
commit b0014c0477
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ sysName=`uname`
VERSION=$2
# 开启可以PING
sysctl -w net.ipv4.ping_group_range="0 2147483647"
install_tmp=${rootPath}/tmp/mw_install.pl
@ -25,6 +25,8 @@ Install_App()
name=linux
if [ "$sysName" == "Darwin" ];then
name="darwin"
else
sysctl -w net.ipv4.ping_group_range="0 2147483647"
fi
if [ "$ARCH" == "x86_64" ];then