Hi Doitsu,
Well that's not good. It works on my Mac OS X build.
On Mac it looks here:
_DIRS_TO_SEARCH.append("/Applications/Sigil.app/Contents/plugin_launchers/python")
On linux it will look in the following locations and can overide via an environment var:
_DIRS_TO_SEARCH.append("/usr/share/sigil/plugin_launchers/python")
_DIRS_TO_SEARCH.append("/usr/local/share/sigil/plugin_launchers/python")
_DIRS_TO_SEARCH.append("/opt/share/sigil/plugin_launchers/python")
On Windows it looks here:
Code:
programfiles = os.environ.get("ProgramFiles")
programfilesx86 = os.environ.get("ProgramFiles(x86)")
if programfiles is not None:
_DIRS_TO_SEARCH.append(os.path.join(programfiles,"Sigil","plugin_launchers","python"))
if programfilesx86 is not None:
_DIRS_TO_SEARCH.append(os.path.join(programfilesx86,"Sigil","plugin_launchers","python"))
Do you need to be admin/root to write to those locations on your machine? If so perhaps the python shutil.copy was simply ignored.
You might try an sudo on Linux to see if that fixes things or being Admin on Linux.
If that doesn't help, your best bet until I figure this out is manually copy the files. Don't forget the completely new file preferences.py.
Kevin
Quote:
Originally Posted by Doitsu
I've just tested the launcher updater with DiapDealer's inofficial 0.8.2 Linux build and the official 64bit Windows 0.8.2 version. I got a 'Sigil launcher code updated successfully' message, but the Python files in /usr/local/share/sigil/plugin_launchers/python and C:\Program Files\Sigil\plugin_launchers\python weren't updated.
|