macos build: remove the --openfolder option
`bless` no longer supports the `--openfolder` option. It appears to be a change in the March 2022 Xcode update.
This commit is contained in:
parent
937e99f6c2
commit
62fee7f58a
1 changed files with 6 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Script to generate TuxPaint.dmg from TuxPaint.app.
|
# Script to generate TuxPaint.dmg from TuxPaint.app.
|
||||||
|
|
@ -39,8 +39,11 @@ ln -s "/Applications" "$VOLUME" \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
echo " * Configuring the folder to open upon mount..."
|
echo " * Configuring the folder to open upon mount..."
|
||||||
bless --folder "$VOLUME" --openfolder "$VOLUME" \
|
if [[ "$(uname -m)" == "arm64" ]]; then
|
||||||
|| exit 1
|
bless --folder "$VOLUME"
|
||||||
|
else
|
||||||
|
bless --folder "$VOLUME" --openfolder "$VOLUME"
|
||||||
|
fi || exit 1
|
||||||
|
|
||||||
echo " * Unmounting the temporary image..."
|
echo " * Unmounting the temporary image..."
|
||||||
hdiutil detach "$VOLUME"
|
hdiutil detach "$VOLUME"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue