mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 02:27:01 -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.