mirror of https://github.com/cirruslabs/tart.git
App structure needs capital letter
This commit is contained in:
parent
6311b8b32a
commit
7abf324121
|
|
@ -5,7 +5,7 @@ set -e
|
|||
export VERSION="${CIRRUS_TAG:-0}"
|
||||
|
||||
mkdir -p .ci/pkg/Tart.app/Contents/MacOS
|
||||
cp .build/arm64-apple-macosx/debug/tart .ci/pkg/Tart.app/Contents/MacOS/tart
|
||||
cp .build/arm64-apple-macosx/debug/tart .ci/pkg/Tart.app/Contents/MacOS/Tart
|
||||
cp Resources/embedded.provisionprofile .ci/pkg/Tart.app/Contents/embedded.provisionprofile
|
||||
pkgbuild --root .ci/pkg/Tart.app --identifier com.github.cirruslabs.tart --version $VERSION \
|
||||
--scripts .ci/pkg/scripts \
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
set -e
|
||||
|
||||
echo "#!/bin/sh" > /usr/local/bin/tart
|
||||
echo "exec '$2/Contents/MacOS/tart' \"\$@\"" >> /usr/local/bin/tart
|
||||
echo "exec '$2/Contents/MacOS/Tart' \"\$@\"" >> /usr/local/bin/tart
|
||||
|
||||
chmod +x /usr/local/bin/tart
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ builds:
|
|||
post:
|
||||
- gon gon.hcl
|
||||
- .ci/create-pkg.sh
|
||||
- cp .build/arm64-apple-macosx/debug/tart .build/arm64-apple-macosx/debug/Tart
|
||||
|
||||
archives:
|
||||
- name_template: "{{ .ProjectName }}"
|
||||
|
|
@ -24,7 +25,7 @@ archives:
|
|||
- src: Resources/embedded.provisionprofile
|
||||
dst: Tart.app/Contents
|
||||
strip_parent: true
|
||||
- src: ".build/arm64-apple-macosx/debug/tart"
|
||||
- src: ".build/arm64-apple-macosx/debug/Tart"
|
||||
dst: Tart.app/Contents/MacOS
|
||||
strip_parent: true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue