Open Yensan opened 2 months ago
macOS 13.2.1 (22D68)
$ ./update.sh --2024-05-19 22:30:55-- https://raw.githubusercontent.com/felix-fly/v2ray-dnsmasq-dnscrypt/master/ad.hosts 正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.108.133 正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:2039389 (1.9M) [text/plain] 正在保存至: “ad.hosts” ad.hosts 100%[===================>] 1.94M 12.3KB/s 用时 2m 14s 2024-05-19 22:33:09 (14.9 KB/s) - 已保存 “ad.hosts” [2039389/2039389]) --2024-05-19 22:33:09-- https://raw.githubusercontent.com/felix-fly/v2ray-dnsmasq-dnscrypt/master/gw.hosts 正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.109.133 正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:374914 (366K) [text/plain] 正在保存至: “gw.hosts” gw.hosts 100%[===================>] 366.13K 16.9KB/s 用时 21s 2024-05-19 22:33:31 (17.8 KB/s) - 已保存 “gw.hosts” [374914/374914]) rm: ./site/.DS_Store: No such file or directory ./update.sh: line 3: 17875 Segmentation fault: 11 ./v2sitedat_darwin -dat ./$1 -dir ./site
代码要修改一行
elif [[ "$OSTYPE" == "darwin"* ]]; then # mac chmod +x ./v2sitedat_darwin if [ -f ./site/.DS_Store ]; then rm -f ./site/.DS_Store; fi # rm ./site/.DS_Store ./v2sitedat_darwin -dat ./$1 -dir ./site
改了也没用。估计是 v2sitedat_darwin 不兼容
v2sitedat_darwin
./update.sh: line 3: 18236 Segmentation fault: 11 ./v2sitedat_darwin -dat ./$1 -dir ./site
macOS 13.2.1 (22D68)
代码要修改一行