kecnry / mpltracker

intercept calls to matplotlib and save to disk
GNU General Public License v3.0
0 stars 1 forks source link

implement ability to register for protocol or file handler #1

Open kecnry opened 7 years ago

kecnry commented 7 years ago

so a website could host links to mplshow: or .mpl and the locally installed mplshow launcher would know to launch and open the file.

Within an electron app this isn't necessary, as the app itself can just spawn a local child process.

kecnry commented 7 years ago

helpful links: https://stackoverflow.com/questions/15603334/register-a-python-script-as-default-for-file-type https://stackoverflow.com/questions/30931/register-file-extensions-mime-types-in-linux/31836#31836