![]() Note: The script must be at least 28 bytes in size, otherwise it will not execute. If anybody can try on newer OS versions and tell me. That's all ! It works on Mac os x since Snow Leopard to Mavericks. In the case described here the script file must be named "YourApplication". No need for other folders or file (until you need to call other scripts or executable from within your script of course) The trick is to name your script with exactly the same name as the application folder but without extension. The script must be executable of course (use chmod +x if you need). Put your script file directly in this folder the way that suites you the best (Finder, terminal etc).Though, the most OS compliant locations may be /Applications or your own ~/Applications folder. It can be created at any location that is convenient to your usage. Create a folder named "YourApplication.app". ![]() Well, it's been years I use this simple trick to have bash scripts in application (and really really don't understand why all people try so complicated solutions as creating "Contents" folders, ist or use Automator or Platypus or so.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |