#!/bin/bash # 依次运行dependence.py和package.py的shell脚本 echo "正在运行依赖安装脚本..." python3 dependence.py if [ $? -ne 0 ]; then echo "运行dependence.py失败! 错误码: $?" exit $? fi echo "正在运行打包脚本..." python3 package.py if [ $? -ne 0 ]; then echo "运行package.py失败! 错误码: $?" exit $? fi echo "所有脚本执行完毕!"