I have a command line utility that I wrote which reads in a markdown file, converts it to an HTML file and then launches it in the user’s default web browser. I’d like to create a snap for it.
It needs to be able to do the following things:
- Read a file in the current directory, like
- Write a file to the default temp directory
- Launch a web browser via
xdg-open, which will load and display the temp file
In order to do all of this, do I need to set
classic? This is my first time attempting to build a snap package, so I’m not super familiar with all the terminology and how it all works.