huhn911 Posted November 26, 2008 Share Posted November 26, 2008 What i m trying to do: I wrote a simple bash script which starts a wine application from the terminal. #!/bin/bash wine /usr/local/share/wine/someapp.exe Then i wanted to start it via Finder/Applications without a poping up terminal! ln -s /usr/local/share/wine/someapp.exe /Applications/someapp.sh right click in Finder under Application/someapp.sh, open with (Terminal). I would like to chose /bin/bash directly to start the script instead of the "Terminal". Any suggestions? tnx, huhn911 Link to comment https://www.insanelymac.com/forum/topic/138271-executing-a-bash-script/ Share on other sites More sharing options...
huhn911 Posted December 3, 2008 Author Share Posted December 3, 2008 what i found out: Link the script to /Applications which the name ends with .command ln -s /usr/local/bin/WindowsProgrammSkript /Applications/WindowsProgrammSkript.command or with Applescript do shell script "/opt/local/bin/wine /usr/local/share/wine/winprg.exe" for an individual icon; right click on the "Application-Script", select the icon top/left, mv any icon (img2icns!) on the selected icon ... Link to comment https://www.insanelymac.com/forum/topic/138271-executing-a-bash-script/#findComment-986921 Share on other sites More sharing options...
Recommended Posts