Skip to content

Commit

Permalink
Merge pull request #42 from HisAtri/dev
Browse files Browse the repository at this point in the history
no message
  • Loading branch information
HisAtri authored Apr 1, 2024
2 parents a7fa689 + 63d8d8a commit 365ccaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions buildup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion make_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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命令在不同平台的容器中执行打包命令
Expand Down

0 comments on commit 365ccaa

Please sign in to comment.