From dc3933a15a32ace64271ff385876aa5a99ac86fc Mon Sep 17 00:00:00 2001 From: Pier-Yves Lessard Date: Sat, 30 May 2026 13:06:26 -0400 Subject: [PATCH 1/4] add link to Application folder on osx --- scripts/make_macos_dmg.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/make_macos_dmg.sh b/scripts/make_macos_dmg.sh index be6be93d..46740adf 100755 --- a/scripts/make_macos_dmg.sh +++ b/scripts/make_macos_dmg.sh @@ -44,6 +44,7 @@ APP_NAME="Scrutiny GUI" PACKAGE_DIR="${TEMP_DIR}/${APP_NAME}.app" set -x cp -R "${APP_DIR}" "${PACKAGE_DIR}" +ln -s "${PACKAGE_DIR}/Applications" ~/Desktop/Applications hdiutil create -volname "Scrutiny Debugger v${SCRUTINY_VERSION}" -srcfolder "${PACKAGE_DIR}" -ov -format UDZO "${DMG_FILE}" # Finish and cleanup From 6b98781a1f0ca54ebb6ee609e7fb9a9382b8f2d2 Mon Sep 17 00:00:00 2001 From: Pier-Yves Lessard Date: Sun, 31 May 2026 11:58:13 -0400 Subject: [PATCH 2/4] order of args --- scripts/make_macos_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make_macos_dmg.sh b/scripts/make_macos_dmg.sh index 46740adf..63198f42 100755 --- a/scripts/make_macos_dmg.sh +++ b/scripts/make_macos_dmg.sh @@ -44,7 +44,7 @@ APP_NAME="Scrutiny GUI" PACKAGE_DIR="${TEMP_DIR}/${APP_NAME}.app" set -x cp -R "${APP_DIR}" "${PACKAGE_DIR}" -ln -s "${PACKAGE_DIR}/Applications" ~/Desktop/Applications +ln -s "~/Desktop/Applications" "${PACKAGE_DIR}/Applications" hdiutil create -volname "Scrutiny Debugger v${SCRUTINY_VERSION}" -srcfolder "${PACKAGE_DIR}" -ov -format UDZO "${DMG_FILE}" # Finish and cleanup From 1d53b4ff9fee1ee674323c3139d0a90548e192c6 Mon Sep 17 00:00:00 2001 From: Pier-Yves Lessard Date: Sun, 31 May 2026 19:32:16 -0400 Subject: [PATCH 3/4] Update make_macos_dmg.sh --- scripts/make_macos_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make_macos_dmg.sh b/scripts/make_macos_dmg.sh index 63198f42..b66aa78a 100755 --- a/scripts/make_macos_dmg.sh +++ b/scripts/make_macos_dmg.sh @@ -44,7 +44,7 @@ APP_NAME="Scrutiny GUI" PACKAGE_DIR="${TEMP_DIR}/${APP_NAME}.app" set -x cp -R "${APP_DIR}" "${PACKAGE_DIR}" -ln -s "~/Desktop/Applications" "${PACKAGE_DIR}/Applications" +ln -s "/Applications" "${PACKAGE_DIR}/Applications" hdiutil create -volname "Scrutiny Debugger v${SCRUTINY_VERSION}" -srcfolder "${PACKAGE_DIR}" -ov -format UDZO "${DMG_FILE}" # Finish and cleanup From 6f3b54a84241910fadbe7740322380c14a2b1963 Mon Sep 17 00:00:00 2001 From: Pier-Yves Lessard Date: Sun, 31 May 2026 20:15:24 -0400 Subject: [PATCH 4/4] Update make_macos_dmg.sh --- scripts/make_macos_dmg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/make_macos_dmg.sh b/scripts/make_macos_dmg.sh index b66aa78a..78b177f4 100755 --- a/scripts/make_macos_dmg.sh +++ b/scripts/make_macos_dmg.sh @@ -41,11 +41,11 @@ DMG_NAME="${PKG_NAME}.dmg" DMG_FILE=${OUTPUT_FOLDER}/${DMG_NAME} TEMP_DIR=$(mktemp -d) APP_NAME="Scrutiny GUI" -PACKAGE_DIR="${TEMP_DIR}/${APP_NAME}.app" +DST_APP_DIR="${TEMP_DIR}/${APP_NAME}.app" set -x -cp -R "${APP_DIR}" "${PACKAGE_DIR}" -ln -s "/Applications" "${PACKAGE_DIR}/Applications" -hdiutil create -volname "Scrutiny Debugger v${SCRUTINY_VERSION}" -srcfolder "${PACKAGE_DIR}" -ov -format UDZO "${DMG_FILE}" +cp -R "${APP_DIR}" "${DST_APP_DIR}" +ln -s "/Applications" "${TEMP_DIR}/Applications" +hdiutil create -volname "Scrutiny Debugger v${SCRUTINY_VERSION}" -srcfolder "${TEMP_DIR}" -ov -format UDZO "${DMG_FILE}" # Finish and cleanup assert_file "$DMG_FILE"