aMule Forum

English => Multiplatform => Mac OSX => Topic started by: pamela on April 23, 2005, 10:36:51 AM

Title: Fake check on macMule
Post by: pamela on April 23, 2005, 10:36:51 AM
Maybe someone did this before, but here is script that enables fake check in macMule:
http://www.chronix.org/projects/scripts/open_url.pl

Just download this file and point custom browser to it's location in macMule preferences (General pane).

Best regards

Jan Gregor
Title: Re: Fake check on macMule
Post by: ken on April 24, 2005, 09:36:59 AM
Hi pamela,

Thanks for your contribution.  Unfortunately, you're making things more complicated than necessary.  :)

Apple already provides a utility program to launch things (files, folders, URLs, applications, etc.) from the command line.  Check out "man open".

So, to enable Fake Check one needs only to put "open" (or, to be more secure "/usr/bin/open") in the Custom Browser preferences.  That, like your script, will launch the default browser.  If you want to override the default, you can use "open -a Safari" or "open -a Firefox" or the like.

We should probably just make the default on Mac aMule be User Defined browser with "/usr/bin/open" as the default Custom command.

There was some movement in wxMac to enable it to work with the result of the application browser dialog that aMule provides.  When the user picks an application in that dialog, aMule is given the path to the .app bundle which can't be launched with fork()/exec() which is what wx normally uses to launch commands.  The change in wxMac was going to enable the launching of .app bundles, but it caused problems and is currently being reviewed and held until after wx 2.6.1.

EDITED to say: