Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packaging/scripts/build-menubar-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ X64_TARGET="x86_64-apple-darwin"

cd "${ROOT}"

if ! command -v cargo-bundle >/dev/null 2>&1; then
cargo install cargo-bundle --locked
# Pinned: cargo-bundle 0.12.0 dropped the `hardened_runtime` key under
# [package.metadata.bundle.macos] and fails the build; 0.11.0 is what every
# shipped release was bundled with.
CARGO_BUNDLE_VERSION="0.11.0"
if ! cargo-bundle --version 2>/dev/null | grep -q "cargo-bundle ${CARGO_BUNDLE_VERSION}"; then
cargo install cargo-bundle --version "${CARGO_BUNDLE_VERSION}" --locked --force
fi

has_target() {
Expand Down
Loading