Re: [Unofficial] Deluge 2.0.x installer
Posted: Sat May 30, 2020 1:54 pm
Sorry, no, my original buildscripts never say that(built result I mean). It's strange it states that dos path too. I only used that dos path one place in script where specifically needed because of deluge bug in plugin building, with pip atleast(and installing in folder with space i.e. %programfiles% and with no quoting style helping), and to lazy to change all those lines to other path(e.g. C:\python, like rest of buildscripts), including also the patching exe lines and ones in fixdeluged.py and fixdeluge-web.py.
You can change it to deluge if you want, but there is something going on with your scripts imho. Also, I used deluge2, because already having deluge installed, and so cannot have it use that occupied path when building new deluge + it's a remains of soon a year ago where batchfiles was only provided means of install. If it need have a special path e.g. %programfiles%\deluge, then the patching of exe's have failed, as they are patched to be portable, and so selecting portable install in installer would break and likewise if selecting other than default path for normal install. Look at the lines of portable.py that patch the exes, as something must be wrong there, compared to mine. Btw, I don't know if portable.py is case-sensitive or not, hence never used %programfiles% there, as remember you said you changed all/most references to that in some scripts including deluge. The paths are in lowercase in the exe's by default i'm pretty sure, since I wrote it that way in deluge buildscripts.
You can PM me one of your scripts too, or let me know if I e.g. should PM you my email, for you to send script to, or whatever, just thinking out loud.
I just built latest deluge dev in the background while writing this, and now runned deluge.exe directly from it's built deluge-2.0.4.dev38 folder under C:\deluge2, and starts up like usual.
Let me know if can do something, as said in previous paragraphs.
Edit: Same with deluge-stable.
Edit2: Take it easy mate, mess with that another day.
You can change it to deluge if you want, but there is something going on with your scripts imho. Also, I used deluge2, because already having deluge installed, and so cannot have it use that occupied path when building new deluge + it's a remains of soon a year ago where batchfiles was only provided means of install. If it need have a special path e.g. %programfiles%\deluge, then the patching of exe's have failed, as they are patched to be portable, and so selecting portable install in installer would break and likewise if selecting other than default path for normal install. Look at the lines of portable.py that patch the exes, as something must be wrong there, compared to mine. Btw, I don't know if portable.py is case-sensitive or not, hence never used %programfiles% there, as remember you said you changed all/most references to that in some scripts including deluge. The paths are in lowercase in the exe's by default i'm pretty sure, since I wrote it that way in deluge buildscripts.
You can PM me one of your scripts too, or let me know if I e.g. should PM you my email, for you to send script to, or whatever, just thinking out loud.
I just built latest deluge dev in the background while writing this, and now runned deluge.exe directly from it's built deluge-2.0.4.dev38 folder under C:\deluge2, and starts up like usual.
Let me know if can do something, as said in previous paragraphs.
Edit: Same with deluge-stable.
Edit2: Take it easy mate, mess with that another day.