Skip to content

Commit

Permalink
ref macos📦 dmg 命令错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zy7y committed Apr 29, 2024
1 parent 7b55ebe commit e716151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_pyinstaller_add_data_by_package(name):
# 如果是macos,则压缩打包后的目录
if platform.system() == "Darwin":
subprocess.call(["npm", "i", "-g", "create-dmg"])
subprocess.call(["create-dmg", "--dmg-title", "dist/client.app", "dist/client.dmg"])
subprocess.call(["create-dmg", "dist/client.app", "dist/client.dmg"])
subprocess.call(["rm", "-rf", "dist/client.app"])
subprocess.call(["rm", "-rf", "dist/client"])

Expand Down

0 comments on commit e716151

Please sign in to comment.