[patch] 修改打包固定项缓存复用 提升打包效率
This commit is contained in:
@@ -114,6 +114,19 @@ def build_with_command():
|
||||
if result.returncode == 0:
|
||||
print("Build successful!")
|
||||
print("Build result: dist/MultiPlatformGUI/")
|
||||
|
||||
# Debug: List files in dist directory
|
||||
if os.path.exists('dist/MultiPlatformGUI'):
|
||||
print("DEBUG: Files in dist/MultiPlatformGUI/:")
|
||||
for item in os.listdir('dist/MultiPlatformGUI'):
|
||||
item_path = os.path.join('dist/MultiPlatformGUI', item)
|
||||
if os.path.isfile(item_path):
|
||||
size_mb = os.path.getsize(item_path) / 1024 / 1024
|
||||
print(f" - {item} ({size_mb:.1f} MB)")
|
||||
else:
|
||||
print(f" - {item}/ (directory)")
|
||||
else:
|
||||
print("WARNING: dist/MultiPlatformGUI directory does not exist!")
|
||||
|
||||
# 验证输出目录(不需要重命名了)
|
||||
if os.path.exists('dist/MultiPlatformGUI/MultiPlatformGUI.exe'):
|
||||
|
||||
Reference in New Issue
Block a user