Checker wrote:How to handle plugins (egg files) portable
They are at:
%APPDATA%\deluge\plugins
There is a way to make Deluge store everything in its own folder, but it doesn't make it truly portable,
because you have to use absolute paths. (Didn't test it using relative paths, though)
(i will use C:\PortableApps\Deluge\ here as an example,
you will have to fix the path accordingly to your setup)
As stated in this thread
http://forum.deluge-torrent.org/viewtop ... =7&t=43397
you have to manually set the path to default to the Deluge program dir.
You will need to download this file:
http://git.deluge-torrent.org/deluge/pl ... 1.3-stable
Then find:
Code: Select all
appDataPath = os.environ.get("APPDATA")
and replace with:
Code: Select all
appDataPath = "C:\PortableApps\Deluge\config"
Save and Copy common.py into C:\PortableApps\Deluge\deluge-1.3.12-py2.6.egg\deluge
So now the default config path will now be:
C:\PortableApps\Deluge\config\deluge
To fix the Python-Eggs folder being created in appdata,
go to C:\PortableApps\Deluge\config\, create a folder "Python-Eggs"
and put this line in the common.py file, after the "import.." lines at the top:
Code: Select all
os.environ['PYTHON_EGG_CACHE'] = "C:\PortableApps\Deluge\config\Python-Eggs"
If you also want to change the language, you have to create a deluge.bat where deluge.exe is, and type in