diff --git a/buildup.py b/buildup.py index 8c2e6f6..ea80bed 100644 --- a/buildup.py +++ b/buildup.py @@ -12,9 +12,6 @@ APP_VERSION = "1.5.3" PACK_NAME = f"{APP_NAME}-{APP_VERSION}-{PLATFORM}-{ARCHITECTURE}{'.exe' if PLATFORM == 'Windows' else ''}" -# 针对Alpine,安装objdump/gcc环境等 -subprocess.run("apk add --no-cache gcc musl-dev jpeg-dev zlib-dev libjpeg", shell=True) -subprocess.run("apk add binutils", shell=True) # 安装Pyinstaller及主程序依赖 subprocess.run("pip install -r requirements.txt", shell=True) subprocess.run("pip install pyinstaller", shell=True) diff --git a/make_release.py b/make_release.py index c296f7a..7b8471b 100644 --- a/make_release.py +++ b/make_release.py @@ -10,7 +10,7 @@ container_root_dir = '/app' # 在容器内使用buildup.py脚本自动化完成依赖安装、打包等操作 -command_in_docker = "python /app/buildup.py" +command_in_docker = "\"cd /app && python buildup.py\"" for platform in platforms: # 使用docker run命令在不同平台的容器中执行打包命令