Skip to content

Commit

Permalink
Mounting
Browse files Browse the repository at this point in the history
  • Loading branch information
PunkPun committed Nov 16, 2024
1 parent c69ee08 commit 9ee5fc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packaging/macos/buildpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,11 @@ build_app "${TEMPLATE_DIR}" "${BUILTDIR}/OpenRA - Dune 2000.app" "d2k" "Dune 200
rm -rf "${TEMPLATE_DIR}"

echo "Packaging disk image"
if hdiutil info | grep -q "/Volumes/OpenRA"; then

if mount | grep -q "/Volumes/OpenRA"; then
echo "Some process is stealing our resources! /Volumes/OpenRA is already mounted!"
else
echo "/Volumes/OpenRA is not mounted."
fi

hdiutil create "build.dmg" -format UDRW -volname "OpenRA" -fs HFS+ -srcfolder build
Expand Down

0 comments on commit 9ee5fc3

Please # to comment.