HarisIqbal88 / PlotNeuralNet

Latex code for making neural networks diagrams
MIT License
21.74k stars 2.84k forks source link

fix xdg-open not found error on MacOS #41

Closed StevenShi-23 closed 5 years ago

StevenShi-23 commented 5 years ago

Hi @HarisIqbal88 , thank you for contributing this work!

There is a minor change. xdg-open does not ship with MacOS by default. To use it, one may need to install additional packages on Mac. However, there is an equivalent command on MacOS, which is open. The suggested change will detect the OS and decide the correct file opening command to use.