未验证 提交 40801a81 编写于 作者: H Haris Iqbal 提交者: GitHub

Merge pull request #41 from StevenShi-23/master

fix xdg-open not found error on MacOS
......@@ -7,5 +7,8 @@ pdflatex $1.tex
rm *.aux *.log *.vscodeLog
rm *.tex
xdg-open $1.pdf
if [[ "$OSTYPE" == "darwin"* ]]; then
open $1.pdf
else
xdg-open $1.pdf
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册