Yes, that seems to work, Midas. So you can totally ignore the common.py instructions i posted above,Midas wrote:I haven't tested it, but if you're launching Deluge with a batch file, you might be able to change that location with a local variable.
So, assuming your batch is inside Deluge's folder and there's a 'config' sub-folder, you could have this in your batch:
For this to work, you need to leave the original key value intact:
Code: Select all
SET APPDATA=%~dp0\config
Code: Select all
appDataPath = os.environ.get("APPDATA")
and just create a batch file with this code:
Code: Select all
SET APPDATA=%~dp0\config
start deluge.exe -c "config\deluge"
guidelines to do it. Your method is definitely much simpler
For the registry stuff and the recently-used.xbel file in \user\current\AppData\Local,
i suppose we need a wrapper...