<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2013/3/5 Clemens Lang <span dir="ltr"><<a href="mailto:neverpanic@gmail.com" target="_blank">neverpanic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Mar 05, 2013 at 01:08:38PM +0100, Anders Bruun Olsen wrote:<br>
> Next question: How would I go about getting the .app to start x2goclient<br>
> with --broker-url added?<br>
> It seems that just changing Info.plist isn't an option, since Apple<br>
> apparently hates cmd-line arguments and doesn't provide a way to include<br>
> these here. Would I need to patch the source code to just pretend<br>
> --broker-url is set, or perhaps provide a seperate script to start the<br>
> client with the right arguments?<br>
</div>You could rename x2goclient.app/Contents/MacOS/x2goclient to<br>
x2goclient.bin and create a small script named x2goclient into the<br>
directory that will run the binary with the required arguments.<br></blockquote><div><br></div><div style>Not a bad idea.</div><div style>Would it be relatively simple to modify the build script to include this new script and thus have it in the dmg?</div>
<div style>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.</div></div><div><br></div>-- <br>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske Sprog- og Litteraturselskab<br>
(Society for Danish Language and Literature)<br>
</div></div>