更新 install.sh
Some checks failed
Gitea Actions Build / build and releases (push) Has been cancelled

This commit is contained in:
Armamem0t 2025-06-26 21:20:40 +08:00 committed by git.mingliqiye.com
parent 187dd35820
commit 1c459ca6a2
Signed by: git.mingliqiye.com
GPG Key ID: F810443113074559

View File

@ -1,13 +1,13 @@
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
FILENAME=$(python -c "
FILENAME=$(python3 -c "
import json;
with open('releases.json') as f:
data = json.load(f)
print(data[0]['assets'][0]['name'])
")
DOWNLOADURL=$(python -c "
DOWNLOADURL=$(python3 -c "
import json;
with open('releases.json') as f:
data = json.load(f)