macdeploy: cleanup .temp.dmg if present

This commit is contained in:
fanquake committed 2021-06-09 12:33:39 +08:00
1 parent ecffe8689d
commit 0a5723beea
1 file changed
+3
+3
View File
@@ -423,6 +423,9 @@ if os.path.exists(appname + ".dmg"):
print("+ Removing existing DMG +")
os.unlink(appname + ".dmg")
if os.path.exists(appname + ".temp.dmg"):
os.unlink(appname + ".temp.dmg")
# ------------------------------------------------
target = os.path.join("dist", "Bitcoin-Qt.app")