Parcourir la source

代码优化-新增版本管理

derrickx il y a 1 an
Parent
commit
594e884308
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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([