fix: prevent 'illegal byte code sequence' when parsing png files
This commit is contained in:
parent
490b7d45b2
commit
b3a9b5bee5
1 changed files with 4 additions and 4 deletions
|
@ -32,10 +32,10 @@ try cp $TEMPLATESDIR/template-Info.plist $APPDIR/$APPID-Info.plist
|
|||
try cp -a $TEMPLATESDIR/template.xcodeproj $APPDIR/$APPID.xcodeproj
|
||||
|
||||
echo "-> Customize templates"
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##APPID##/$APPID/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##APPNAME##/$APPNAME/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##SDKVER##/$SDKVER/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s^##SRCDIR##^$SRCDIR^g" {} \;
|
||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##APPID##/$APPID/g" {} \;
|
||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##APPNAME##/$APPNAME/g" {} \;
|
||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##SDKVER##/$SDKVER/g" {} \;
|
||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s^##SRCDIR##^$SRCDIR^g" {} \;
|
||||
|
||||
echo "-> Done !"
|
||||
|
||||
|
|
Loading…
Reference in a new issue