evan-buss/openbooks

-d flag wont save books in the right place on windows server mode

Basilou42 opened this issue · 1 comments

using openbooks.exe on windows in the folowing command :
openbooks.exe server -b -d "C:\Users\******\Downloads\books" -n test

upon connecting i get this log :
SERVER: Download Directory: C:\Users\******\AppData\Local\Temp\openbooks (wrong directory)

when downloading a book i receive the error :
Error when deleting book file. remove C:\Users\******\AppData\Local\Temp\openbooks\books\C:\Users\****\AppData\Local\Temp\openbooks\books\_book name.epub_: File, directory, or volume name syntax is incorrect.

i tried using different paths (absolute and relative) and different quotes " ' ` but the issue persists

the -d flag works as expected in cli mode

my bad i vas editing the wrong .cmd file thus not changing the server startup command :|