diff --git a/install.sh b/install.sh index 64957a7..5c25e2f 100644 --- a/install.sh +++ b/install.sh @@ -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)