mercredi 2 juillet 2014

Is the tilde (~) character necessary in the iPad icon filenames?

Is the tilde (~) character necessary in the iPad icon filenames? The default Touch app generated by the Sencha Cmd (as of version 4.0.4/5.0.0) generates 11 icon image files with the tilde (~) character in the filename. It's a minor nuisance for a variety of reasons. On Unix/Linux/Mac systems, you have to be a little more careful with command-line and scripting tasks, because that character is often a shortcut for a user's home directory. It also makes it easier to break third-party tools. For example, when trying to deploy a Sencha Touch app to parse.com's hosting service with their command-line `parse deploy` tool, it crashes when it gets to those files.

Is there a technical reason for those files to be named that way? Is it an Apple requirement?



Code:



$ find . -name \*\~\*
./resources/icons/icon-spot~ipad.png
./resources/icons/Icon~ipad.png
./resources/icons/Icon~ipad@2x.png
./resources/loading/Default-Landscape@2x~ipad.png
./resources/loading/Default-LandscapeLeft~ipad.png
./resources/loading/Default-LandscapeRight~ipad.png
./resources/loading/Default-Landscape~ipad.png
./resources/loading/Default-Portrait@2x~ipad.png
./resources/loading/Default-PortraitUpsideDown~ipad.png
./resources/loading/Default-Portrait~ipad.png
./resources/loading/Default~ipad.png




Aucun commentaire:

Enregistrer un commentaire