Add function to create local launcher shortcut
If md2pdf-client
is installed as a Snap package, the included launcher file will tell the OS that md2pdf-client
is an available handler for Markdown files - making it easy to right-click and "Open with" on a Markdown file to produce a PDF.
It would be very handy to have this same functionality for md2pdf-client
installed through pip. Both Linux and Windows should be supported.
This could be implemented with a special flag, something like --create-launcher
, which would detect the OS and create a shortcut / launcher file in the correct location. On Linux this is achievable with a .desktop
file in the appropriate place, need to investigate how to do this on Windows.