exit in front of niftyninepatch
This commit is contained in:
parent
a51d2b5eb4
commit
719deb7926
@ -57,6 +57,7 @@ copyImage() {
|
|||||||
|
|
||||||
if [[ $src = *.9.png || $src = *.9@*.png ]]; then
|
if [[ $src = *.9.png || $src = *.9@*.png ]]; then
|
||||||
pinf '%s -> %s (ninepatch)' "${src##*/}" "${dst##*/}"
|
pinf '%s -> %s (ninepatch)' "${src##*/}" "${dst##*/}"
|
||||||
|
exit
|
||||||
niftyNinePatch=$(java -Dapple.awt.UIElement=true -jar Scripts/NiftyNinePatchHelper.jar "$src" "$dst") || return
|
niftyNinePatch=$(java -Dapple.awt.UIElement=true -jar Scripts/NiftyNinePatchHelper.jar "$src" "$dst") || return
|
||||||
while IFS='=' read var value; do
|
while IFS='=' read var value; do
|
||||||
[[ $var = imageMode ]] && value=${value#'"resize:'} value=${value%'"'} && IFS=, read capLeft capWidth capRight capTop _ _ _ capHeight _ _ _ capBottom <<< "$value"
|
[[ $var = imageMode ]] && value=${value#'"resize:'} value=${value%'"'} && IFS=, read capLeft capWidth capRight capTop _ _ _ capHeight _ _ _ capBottom <<< "$value"
|
||||||
@ -116,7 +117,6 @@ if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] ||
|
|||||||
rm "$appiconset/Contents.json"
|
rm "$appiconset/Contents.json"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
exit
|
|
||||||
|
|
||||||
done
|
done
|
||||||
printf '],"info":{"version":1,"author":"genassets"},"properties":{"pre-rendered":true}}\n'
|
printf '],"info":{"version":1,"author":"genassets"},"properties":{"pre-rendered":true}}\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user