Jump to content
2 posts in this topic

Recommended Posts

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?

 

bild3yt3.th.png

 

 

tnx, huhn911

Link to comment
https://www.insanelymac.com/forum/topic/138271-executing-a-bash-script/
Share on other sites

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 ...

×
×
  • Create New...