HarisIqbal88 / PlotNeuralNet

Latex code for making neural networks diagrams
MIT License
21.59k stars 2.83k forks source link

xdg-open: command not found on Windows #98

Open rossivalen opened 3 years ago

rossivalen commented 3 years ago

Hi, as per title tikzmake.sh doesn't work properly on Windows 10. To make it work i added another line for the corresponding command to xdg-open on windows, that is: else if: start 1$.pdf

ghost commented 1 year ago

i changed to:

if [[ "$OSTYPE" == "darwin"* ]]; then
    open $1.pdf
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
    xdg-open $1.pdf
else
    start $1.pdf
fi