File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments