mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
apparently, the cmdline parameter passed to winmain does not contain the path to the EXE *except* when the exe is in the root folder. The number of inconsistencies in the win32 API is insane.