add script to build macos .app

This commit is contained in:
liamcottle
2024-05-25 03:10:30 +12:00
parent 2fc30dae5c
commit 622c38f3ef
4 changed files with 42 additions and 0 deletions

View File

@@ -41,5 +41,12 @@ setup(
# use a static upgrade code to allow installer to remove existing files on upgrade
'upgrade_code': '{6c69616d-ae73-460c-88e8-399b3134134e}',
},
'bdist_mac': {
'iconfile': "macos/icon.icns",
'plist_items': [
# we want ReticulumWebChat.app to execute ReticulumWebChat.sh instead of the python binary, as we need to launch it via terminal
('CFBundleExecutable', 'ReticulumWebChat.sh'),
],
},
},
)