mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 01:55:56 +08:00
Add scripts to build the dmg for the Demo app
This commit is contained in:
parent
8e1ef73c9e
commit
15e2b0cd65
14
elixirkit/demo/rel/appkit/App.entitlements
Normal file
14
elixirkit/demo/rel/appkit/App.entitlements
Normal 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>
|
|
@ -7,3 +7,7 @@ Run the app, just the executable:
|
|||
Run the app bundle:
|
||||
|
||||
$ ./run_app.sh
|
||||
|
||||
Build the .dmg:
|
||||
|
||||
$ ./build_dmg.sh
|
||||
|
|
8
elixirkit/demo/rel/appkit/build_app.sh
Executable file
8
elixirkit/demo/rel/appkit/build_app.sh
Executable 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
|
5
elixirkit/demo/rel/appkit/build_dmg.sh
Executable file
5
elixirkit/demo/rel/appkit/build_dmg.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -euo pipefail
|
||||
|
||||
. `dirname $0`/build_app.sh
|
||||
. ../../../elixirkit_swift/Scripts/build_macos_dmg.sh
|
Loading…
Reference in a new issue