Skip to content

Commit c931034

Browse files
committed
test
1 parent 4effbfc commit c931034

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ def pack():
9797
os.system(cmd)
9898

9999
if sys.platform.startswith("darwin"):
100-
if os.path.exists(f"./dist/comtool {version.__version__}.dmg"):
101-
os.remove(f"./dist/comtool {version.__version__}.dmg")
100+
if os.path.exists("./dist/comtool 0.0.0.dmg"):
101+
os.remove("./dist/comtool 0.0.0.dmg")
102102

103-
os.system('npm install --global create-dmg && create-dmg ./dist/comtool.app ./dist')
104-
shutil.copyfile(f"./dist/comtool {version.__version__}.dmg", macos_out)
103+
os.system('npm install --global create-dmg && create-dmg ./dist/comtool.app ./dist && ls ./dist')
104+
shutil.copyfile("./dist/comtool 0.0.0.dmg", macos_out)
105105
elif sys.platform.startswith("win32"):
106106
zip(windows_out, "dist/comtool")
107107
else:

0 commit comments

Comments
 (0)