The GOGDownloader is a small little tool used by GOG.com (Good Old Games) to download their games and while running it under Wine works fine, it doesn't integrate into Firefox and thus clicking the "Add to GOGDownloader" link responds with a useless:
"Firefox doesn't know how to open this address, because the protocol (gogdownloader) isn't associated with any program."
Integration however is reasonably simple and can be done with two lines of gconftool:
$ gconftool-2 -s /desktop/gnome/url-handlers/gogdownloader/command '/home/juser/bin/gogdownloader %s' --type String
$ gconftool-2 -s /desktop/gnome/url-handlers/gogdownloader/enabled --type Boolean true
Where gogdownloader is the full path to a script that runs the GOGDownloader, as I use a separate WINEPREFIX for every Wine app that looks something like this:
#!/bin/sh
set -e
export WINEPREFIX=/home/ingo/games/gogdownloader
cd "/home/juser/games/gogdownloader/drive_c/Program Files/"
wine GOGDownloader.exe "$@"
# EOF #
Subscribe to:
Post Comments (Atom)

1 comment:
I couldn't actually get it to work in Wine - it wouldn't log in for me. So I'm running it in a VirtualBox instance...
Post a Comment