From ad41e16dd2db243d8b9156843ceb89f7066794b2 Mon Sep 17 00:00:00 2001 From: "macroscopeapp[bot]" <170038800+macroscopeapp[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 07:27:27 +0000 Subject: [PATCH] Put OpenMouse.app at the root of the macOS DMG --- .github/scripts/make-macos-app.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/make-macos-app.sh b/.github/scripts/make-macos-app.sh index 1354d6a..da79aa8 100755 --- a/.github/scripts/make-macos-app.sh +++ b/.github/scripts/make-macos-app.sh @@ -47,4 +47,6 @@ PLIST # substitute for a Developer ID signature and notarization. codesign --force --deep --sign - "$app" -hdiutil create -volname "OpenMouse" -srcfolder "$app" -ov -format UDZO "$out/OpenMouse.dmg" >/dev/null +mkdir "$work/dmg-root" +cp -R "$app" "$work/dmg-root/" +hdiutil create -volname "OpenMouse" -srcfolder "$work/dmg-root" -ov -format UDZO "$out/OpenMouse.dmg" >/dev/null