SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Release workflow: the macOS job mounts the .dmg and checks it (the app, its Info.plist, both architectures, the Applications link)
bherbruck3b650cac5f26
diff --git a/.github/release/package-macos.sh b/.github/release/package-macos.shindex f4fbce568a..1d4c9a3574 100755--- a/.github/release/package-macos.sh+++ b/.github/release/package-macos.sh@@ -32,4 +32,13 @@ PLISTlipo -info "$app/Contents/MacOS/solvecraft"ln -s /Applications stage/dmg/Applicationshdiutil create -volname "SolveCraft $tag" -srcfolder stage/dmg -ov -format UDZO "out/SolveCraft-$tag-macos-universal.dmg"+# Check the image: mount it and look at what a user will see.+mnt=$(mktemp -d)+hdiutil attach -readonly -nobrowse -mountpoint "$mnt" "out/SolveCraft-$tag-macos-universal.dmg"+ls -la "$mnt" "$mnt/SolveCraft.app/Contents" "$mnt/SolveCraft.app/Contents/MacOS"+test -L "$mnt/Applications" && test "$(readlink "$mnt/Applications")" = /Applications+plutil -lint "$mnt/SolveCraft.app/Contents/Info.plist"+lipo "$mnt/SolveCraft.app/Contents/MacOS/solvecraft" -verify_arch arm64 x86_64+"$mnt/SolveCraft.app/Contents/MacOS/solvecraft" --version+hdiutil detach "$mnt"ls -l out