Page 2 of 2

Re: !! Deluge Portable !!

Posted: Thu Dec 24, 2009 6:13 pm
by crhylove
Yes, a new portable Deluge would be GREATLY appreciated!

Re: !! Deluge Portable !!

Posted: Mon Jan 04, 2010 11:49 pm
by sleepwalker
Well, as far as got to understand the code behind Deluge, the most important thing takes part in the common.py script. By default, in there is set the path to the %appdata%\deluge (on Windows). I've played with it and made the script to create the deluge folder and settings inside the current directory(from where Deluge is launched). For example, if I run the deluge.cmd file, in that directory there will be created the deluge folder that normally is created in %appdata%. Works just fine. There's a small problem with updating the *.cmd files if I take my 'portable' Deluge to another partition or folder, but I solved the problem with a small app that i made which automatically updates the *.cmd files...
Anyway, what I wanted to say is that maybe the devel team could modify the common.py script so that the user could chose if Deluge to be installed as standalone or portable. My skills in python are kinda limited (i work on C# mostly) but i think that it's doable...
Also, another thing for the portable mode is that the 'package' to contain the gtk files...

Re: !! Deluge Portable !!

Posted: Tue Jan 05, 2010 6:45 pm
by andar
Why don't you simply use the '-c' command line option to change where the config data is stored?

Re: !! Deluge Portable !!

Posted: Wed Jan 06, 2010 6:52 am
by sleepwalker
andar wrote:Why don't you simply use the '-c' command line option to change where the config data is stored?
Oh... I didn't know that there was such an option... thank you for the tip :D

Re: !! Deluge Portable !!

Posted: Fri May 28, 2010 12:46 pm
by damasko
andar wrote:Why don't you simply use the '-c' command line option to change where the config data is stored?
where have i to put that option?
should folder name be in any particular type?