소스 검색

代码优化-新增版本管理

derrickx 1 년 전
부모
커밋
594e884308
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      build_exe.py

+ 1 - 0
build_exe.py

@@ -4,6 +4,7 @@ import json
 # 从配置文件读取版本号
 with open("tools/config.yaml", "r") as f:
     config = json.load(f)
+    print(f"config content: {config}")
     version = config.get("version", "1.0.0")  # 获取版本号,如果没有则默认使用 "1.0.0"
 
 PyInstaller.__main__.run([