Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
dmg: a failed Finder layout stops the build. The osascript ran inside an echo's $(...), where set -e never sees it fail, so dmg.sh reported ok on an image with no picture and Finder's default places (the check found it by forcing the layout script to error)
shinyobjectzef5761d30016
diff --git a/tools/release/dmg/dmg.sh b/tools/release/dmg/dmg.shindex f5a3733b..f7bd2268 100755--- a/tools/release/dmg/dmg.sh+++ b/tools/release/dmg/dmg.sh@@ -70,8 +70,12 @@ ln -s /Applications "$mnt/Applications"mkdir "$mnt/.background"cp "$here/background.tiff" "$mnt/.background/background.tiff"-echo "layout: $(osascript "$here/layout.applescript" "$vol" background.tiff "$win_w" "$win_h" "$name" \- "${app_at[0]}" "${app_at[1]}" "${apps_at[0]}" "${apps_at[1]}" "$icon_px" "$text_px")"+# its own line, so a failed layout stops the build: inside an echo's $(...), set -e never sees it fail, and the image+# would ship with no picture and Finder's default places+layout=$(osascript "$here/layout.applescript" "$vol" background.tiff "$win_w" "$win_h" "$name" \+ "${app_at[0]}" "${app_at[1]}" "${apps_at[0]}" "${apps_at[1]}" "$icon_px" "$text_px") ||+ die "Finder couldn't lay out the window (is this a logged-in session, and may this terminal control Finder?)"+echo "layout: $layout"[ -f "$mnt/.DS_Store" ] || die "Finder wrote no .DS_Store: is this a logged-in session, and may this terminal control Finder?"# the volume's icon after the layout: Finder (macOS 27) deletes a .VolumeIcon.icns, and clears the custom-icon flag,