参考 https://sobaigu.com/shell-get-lastest-version-from-github.html
# 定义版本变量 tag=$(wget -qO- -t1 -T2 "https://api.github.com/repos/lhc70000/iina/releases/latest" | jq -r '.tag_name') # 下载链接替换为变量 wget https://github.com/iina/iina/releases/download/${tag}/IINA.${tag}.dmg