Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdg-open: command not found on Windows #98

Open
rossivalen opened this issue Jan 19, 2021 · 1 comment
Open

xdg-open: command not found on Windows #98

rossivalen opened this issue Jan 19, 2021 · 1 comment

Comments

@rossivalen
Copy link

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
Copy link

ghost commented Jul 28, 2022

i changed to:

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

mjribeiro added a commit to mjribeiro/PlotNeuralNet that referenced this issue Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant