sleep 0.1s
rm -rf /usr/local/bin/geoip.dat
sleep 0.1s
rm -rf /usr/local/bin/geosite.dat
sleep 0.1s
rm -rf /usr/local/bin/xray
sleep 0.1s
wget --no-check-certificate https://file.hassy.co/xray/xray
sleep 0.1s
chmod +x xray
sleep 0.1s
mv xray /usr/local/bin/xray
sleep 0.1s
wget --no-check-certificate https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
sleep 0.1s
mv geoip.dat /usr/local/bin/geoip.dat
sleep 0.1s
wget --no-check-certificate https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
sleep 0.1s
mv geosite.dat /usr/local/bin/geosite.dat
sleep 0.1s
systemctl restart --now hassy-xray