evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.77k stars 57 forks source link

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

Closed Basilou42 closed 11 months ago

Basilou42 commented 11 months ago

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

Basilou42 commented 11 months ago

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