This is more consistent with the binary builds for other OSes.
APPNAME="PulseView"
APPNAME_BINARY="pulseview"
APPNAME="PulseView"
APPNAME_BINARY="pulseview"
CONTENTSDIR="$APPNAME.app/Contents"
MACOSDIR="$CONTENTSDIR/MacOS"
CONTENTSDIR="$APPNAME.app/Contents"
MACOSDIR="$CONTENTSDIR/MacOS"
cp ../contrib/Info.plist $CONTENTSDIR
cp ../contrib/pulseview.icns $CONTENTSDIR/Resources
cp ../contrib/Info.plist $CONTENTSDIR
cp ../contrib/pulseview.icns $CONTENTSDIR/Resources
-hdiutil create "${APPNAME}_${APPVER}.dmg" -volname "$APPNAME $APPVER" \
+hdiutil create "${APPNAME}-${APPVER}.dmg" -volname "$APPNAME $APPVER" \
-fs HFS+ -srcfolder "$APPNAME.app"
-fs HFS+ -srcfolder "$APPNAME.app"