Add scripts to build the dmg for the Demo app

This commit is contained in:
Wojtek Mach 2023-05-05 10:43:44 +02:00
parent 8e1ef73c9e
commit 15e2b0cd65
4 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>

View file

@ -7,3 +7,7 @@ Run the app, just the executable:
Run the app bundle:
$ ./run_app.sh
Build the .dmg:
$ ./build_dmg.sh

View file

@ -0,0 +1,8 @@
#!/bin/sh
set -euo pipefail
export MIX_ENV=prod
export ELIXIRKIT_APP_NAME=Demo
export ELIXIRKIT_PROJECT_DIR=$PWD/../../..
. ../../../elixirkit_swift/Scripts/build_macos_app.sh

View file

@ -0,0 +1,5 @@
#!/bin/sh
set -euo pipefail
. `dirname $0`/build_app.sh
. ../../../elixirkit_swift/Scripts/build_macos_dmg.sh