From 7abf3241212d9e166cd66b2ba92e97239e98601d Mon Sep 17 00:00:00 2001 From: fedor Date: Tue, 28 Feb 2023 13:27:10 -0500 Subject: [PATCH] App structure needs capital letter --- .ci/create-pkg.sh | 2 +- .ci/pkg/scripts/postinstall | 2 +- .goreleaser.yml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.ci/create-pkg.sh b/.ci/create-pkg.sh index f5a4f9f..d9fb68f 100755 --- a/.ci/create-pkg.sh +++ b/.ci/create-pkg.sh @@ -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 \ diff --git a/.ci/pkg/scripts/postinstall b/.ci/pkg/scripts/postinstall index a29669d..b3e7ffe 100755 --- a/.ci/pkg/scripts/postinstall +++ b/.ci/pkg/scripts/postinstall @@ -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 diff --git a/.goreleaser.yml b/.goreleaser.yml index bd94a26..0ba3101 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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