move exit down...
This commit is contained in:
parent
afb0a0365a
commit
1f1407f31f
@ -90,7 +90,6 @@ if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] ||
|
|||||||
IFS=: read icon filename <<< "$icon"
|
IFS=: read icon filename <<< "$icon"
|
||||||
IFS=@ read px scale idiom os <<< "$icon"
|
IFS=@ read px scale idiom os <<< "$icon"
|
||||||
pt=$(( px / scale ))
|
pt=$(( px / scale ))
|
||||||
exit
|
|
||||||
|
|
||||||
suffix=
|
suffix=
|
||||||
[[ $scale != 1 ]] && suffix=@${scale}x
|
[[ $scale != 1 ]] && suffix=@${scale}x
|
||||||
@ -103,6 +102,7 @@ exit
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
exit
|
||||||
|
|
||||||
if imageProps=$(copyImage "$source" "$appiconset/$filename"); then
|
if imageProps=$(copyImage "$source" "$appiconset/$filename"); then
|
||||||
printf '%s{"size":"%dx%d","filename":"%s","scale":"%sx"' \
|
printf '%s{"size":"%dx%d","filename":"%s","scale":"%sx"' \
|
||||||
|
Loading…
Reference in New Issue
Block a user