I've created a desktop entry in
~/.local/share/applications. It looks similiar to the following:
[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Crontona Server GenericName=CA Server Comment=BDAF server for Crontona Exec=bash "/usr/local/crontona/run.sh" Icon=/usr/local/crontona/app.ico Terminal=true Type=Application
It show's up in the Unity launcher and everything, but whenever I click it, the terminal just pops up but instantly closes. I have no problems at all with using 'bash ./.....run.sh' but I've had no success through the menu. Any idea why it happens?
This is the content of the run.sh file:
#!/bin/bash ./corona_run -prot tcp +maxcon 16