2013/3/5 Clemens Lang <neverpanic@gmail.com>
On Tue, Mar 05, 2013 at 01:08:38PM +0100, Anders Bruun Olsen wrote:
> Next question: How would I go about getting the .app to start x2goclient
> with --broker-url added?
> It seems that just changing Info.plist isn't an option, since Apple
> apparently hates cmd-line arguments and doesn't provide a way to include
> these here. Would I need to patch the source code to just pretend
> --broker-url is set, or perhaps provide a seperate script to start the
> client with the right arguments?
You could rename x2goclient.app/Contents/MacOS/x2goclient to
x2goclient.bin and create a small script named x2goclient into the
directory that will run the binary with the required arguments.

Not a bad idea.
Would it be relatively simple to modify the build script to include this new script and thus have it in the dmg?
If not, I will just make the changes in the .app and distribute a zipped version of that, but I think distributing a dmg is nicer.

--
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)