belaviyo / download-with

A set of extensions to ease the integration with an external download manager
https://add0n.com/download-with.html
97 stars 67 forks source link

Redirect downloads to IDM installed in linux with wine. #1

Closed a21-mohit closed 4 years ago

a21-mohit commented 6 years ago

Is there possibility to redirect downloads to IDM (installed through wine) on linux?

belaviyo commented 6 years ago

Can you call the IDM from the command line?

a21-mohit commented 6 years ago

env WINEPREFIX="/home/mohit/.wine" /usr/bin/wine "C:\Program Files (x86)\Internet Download Manager\IDMan.exe" Yeah with this command

a21-mohit commented 6 years ago

I tested . following thing works. the syntax is wine PROGRAM ARGUMENT but env will be needed for per user.

env WINEPREFIX="/home/mohit/.wine" /usr/bin/wine C:\Program\ Files\ (x86)\Internet\ Download\ Manager\IDMan.exe /d http://ipv4.download.thinkbroadband.com/100MB.zip

a21-mohit commented 6 years ago

~/.wine/drive_c/Program\ Files\ (x86)/Internet\ Download\ Manager/IDMan.exe /d "http://ipv4.download.thinkbroadband.com/100MB.zip"

This also works