mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-06 22:21:12 +02:00
* Build Package Installer * Fixed typo * Notarize archive * Try lowercase * Use zip to satisfy notarization * Always upload dist * Don't duplicate binaries * Fancier Homebrew install block * Can't stable zip * Renamed artifacts instruction * Fixed config * upload pkg * Lowercase * don't package app-structure
14 lines
350 B
Bash
Executable File
14 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# fix structure
|
|
mkdir -p "$2/tart.app/Contents/MacOS"
|
|
mv "$2/tart" "$2/tart.app/Contents/MacOS/tart"
|
|
mv "$2/embedded.provisionprofile" "$2/tart.app/Contents/embedded.provisionprofile"
|
|
|
|
echo "#!/bin/sh" > /usr/local/bin/tart
|
|
echo "exec '$2/tart.app/Contents/MacOS/tart' \"\$@\"" >> /usr/local/bin/tart
|
|
|
|
chmod +x /usr/local/bin/tart
|