From 96b726efeda6410858e95c4de589c8478cf41c0d Mon Sep 17 00:00:00 2001 From: minglipro Date: Wed, 18 Jun 2025 22:19:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5c25e2f..64957a7 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=$(python3 -c " +FILENAME=$(python -c " import json; with open('releases.json') as f: data = json.load(f) print(data[0]['assets'][0]['name']) ") -DOWNLOADURL=$(python3 -c " +DOWNLOADURL=$(python -c " import json; with open('releases.json') as f: data = json.load(f)