Only thing that I ask is that you use glib (GOption) to parse command line parameters if you're not already.
For url handler registration, I don't know how to do it portably. In Gnome, we can use gconf:
gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/command 'linuxdcpp -m "%s"'
We may look at registering it inside debian folder so at least debian-like distros can use it, but we can do that later once Razzloss adds the parameters.
Only thing that I ask is that you use glib (GOption) to parse command line parameters if you're not already.
For url handler registration, I don't know how to do it portably. In Gnome, we can use gconf:
gconftool-2 --set --type=string /desktop/ gnome/url- handlers/ magnet/ command 'linuxdcpp -m "%s"'
We may look at registering it inside debian folder so at least debian-like distros can use it, but we can do that later once Razzloss adds the parameters.