I have a short script to start my application (it invokes java with some parameters). The application needs a grannny-proof launcher for Mac OS X. The application is not installed, it is not even copied to the host disk, it is instead delivered on USB sticks.
When the user inserts the stick and opens it up, she should be able to click an appropriately named file (start_osx.sh for instance would do) and this would execute the script inside.
I'm failing at this right now. When I click said file, it opens up in the text editor. Even if chmod +x
is set on the file.
Compiling the script to a "native" executable is an option if that will help me.
Bonus points for if I can customize the file's icon as displayed in the file browser.