【打包】修改打包流程
parent
2fdd767e0d
commit
c1cb75b12a
|
|
@ -146,7 +146,7 @@ def CopyAssets(srcAssetPath, targetAssetPath):
|
|||
if not os.path.exists(targetAssetPath):
|
||||
try:
|
||||
os.makedirs(targetAssetPath)
|
||||
print(f"Created target asset path: {targetAssetPath}")
|
||||
# print(f"Created target asset path: {targetAssetPath}")
|
||||
except OSError as e:
|
||||
print(f"Error: Failed to create directory '{targetAssetPath}': {e}")
|
||||
sys.exit(12)
|
||||
|
|
@ -182,7 +182,7 @@ def CopyAssets(srcAssetPath, targetAssetPath):
|
|||
print(f"Error: Failed to list directory '{srcAssetPath}': {e}")
|
||||
sys.exit(14)
|
||||
|
||||
print(f"Assets copied successfully from '{srcAssetPath}' to '{targetAssetPath}'")
|
||||
# print(f"Assets copied successfully from '{srcAssetPath}' to '{targetAssetPath}'")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Reference in New Issue