File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkgs/build-support/setup-hooks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,15 @@ convertIconTheme() {
115115 }
116116
117117 # macOS does not correctly display 16x and 32x png icons on app bundles
118- # they need to be converted to rgb+mask ( argb is supported only from macOS 11)
118+ # they need to be converted to argb
119119 function convertIfUnsupportedIcon() {
120120 local -r in=$1
121121 local -r iconSize=$2
122122 local -r scale=$3
123- local -r out=${in% .png} .rgb
123+ local -r out=${in% .png} .argb
124124
125125 if [[ ($scale -eq 1) && ($iconSize -eq 32 || $iconSize -eq 16) ]]; then
126- echo " desktopToDarwinBundle: converting ${iconSize} x icon to rgb " >&2
126+ echo " desktopToDarwinBundle: converting ${iconSize} x icon to argb " >&2
127127 icnsutil convert " $out " " $in "
128128 rm " $in "
129129 fi
You can’t perform that action at this time.
0 commit comments