@Frenzie Thank you for testing..
I've made the slppu.py python 3.x compatible and also added the function to open the books on other OSes.
What do you mean by "the APPDATA thing"?
EDIT: Ah, you meant the
os.environ["APPDATA"] that is used for the
SETTINGS_DIR variable...
How about using this:
Code:
if sys.platform == "win32": # Windows
SETTINGS_DIR = join(os.environ["APPDATA"], APP_NAME)
elif sys.platform == "darwin": # MacOS
SETTINGS_DIR = join(os.path.expanduser("~"), "Library",
"Application Support", APP_NAME)
else: # Linux
SETTINGS_DIR = join(os.path.expanduser("~"), "." + APP_NAME)
I will upload the changes to github but not compile the 0.6. version yet, since I'm waiting for other KoReader changes (
hint-hint ;o)