-
Notifications
You must be signed in to change notification settings - Fork 566
iOS运行脚本方法
lmc999 edited this page Oct 12, 2021
·
2 revisions
-
从APP Store安装ish ,这个app模拟了x86的alpine Linux
-
下载alpine linux的mini root filesystem,注意不能用默认的3.14版本,默认版本阉割了apk,需要用3.13版本. 下载地址
-
把文件下载到iOS系统自带的file app,在ish上点右下角设置,点filesystems,点右上角import,选择下载的tar.gz包,app会自动重启。
如不自动重启,可点选'Boot From This Filesystem'
-
ish重启后运行以下命令安装依赖:
apk add curl bash gawk python3
- 执行脚本运行命令
curl -L -s -o ./check.sh https://git.io/JRw8R && chmod +x ./check.sh && bash ./check.sh