1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01:00

Mac: Repair missing hidden .VolumeIcon.icns

This commit is contained in:
David Rosca 2017-12-08 06:59:34 -07:00
parent 7fbf120521
commit 90ddaeb145

View File

@ -47,9 +47,6 @@ hdiutil create -size 200m "$TMP/$WORK_TEMPLATE" -type SPARSE -fs HFS+ -volname "
fi
done
# iconutil will only pick what it needs
iconutil -c icns "$ICONSETDIR" -o "$TMP/$VOLUME_TEMPLATE/.VolumeIcon.icns"
echo "Creating application reference folder…"
mkdir "$TMP/$VOLUME_TEMPLATE/QupZilla.app"
@ -61,7 +58,9 @@ hdiutil create -size 200m "$TMP/$WORK_TEMPLATE" -type SPARSE -fs HFS+ -volname "
sleep 5
echo "Registering that a custom icon has been set…"
echo "Registering that a custom icon is being set…"
# iconutil will only pick what it needs
iconutil -c icns "$ICONSETDIR" -o "$TMP/$VOLUME_TEMPLATE/.VolumeIcon.icns"
SetFile -a C "$TMP/$VOLUME_TEMPLATE"
echo "Copying application bundle contents…"