1
0
Fork 0

Updating Usage code section of package_macos.jai

This commit is contained in:
Peter Slattery 2024-05-29 12:08:13 -07:00
parent bfc294f46e
commit fc7bff4c68
1 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,23 @@
This is heavily based (read: copy pasted + some modifications) on Thekla's module This is heavily based (read: copy pasted + some modifications) on Thekla's module
MacOS_Bundler.jai, released with the jai compiler. MacOS_Bundler.jai, released with the jai compiler.
Usage: For usage code, see package_macos_example.jai
This routine creates a .app file with the following structure:
output_path/
Entitlements.xcent
<output_name>.app/
Contents/
Info.plist
MacOS/
<output_name> <-- the executable, copied from args.exe_path
...copied in args.dynamic_libs
Resources/
icon_data.icns
...the contents of args.asset_directory
*/ */
#import "Basic"; #import "Basic";