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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,10 @@ jobs:
dmg=$(ls src-tauri/target/release/bundle/dmg/*.dmg)
hdiutil verify "$dmg"
mnt=$(mktemp -d)
hdiutil attach -readonly -nobrowse -mountpoint "$mnt" "$dmg" >/dev/null
# bundle.licenseFile makes the bundler embed the GPL as the dmg's
# license agreement; without a TTY hdiutil cancels the attach unless
# the agreement prompt is answered on stdin
yes | PAGER=cat hdiutil attach -readonly -nobrowse -mountpoint "$mnt" "$dmg" >/dev/null
trap 'hdiutil detach "$mnt" -force >/dev/null 2>&1' EXIT
app="$mnt/testpattern.app"
bin="$app/Contents/MacOS/testpattern"
Expand Down
Loading