Refactoring in faustexp.ml.
[Faustine.git] / interpretor / faust-0.9.47mr3 / tools / faust2appls / faust2firefox
1 #!/bin/bash
2 if [[ $(uname) == Darwin ]]; then
3 APPL='open -a Safari'
4 else
5 APPL=xdg-open
6 fi
7
8 faust2svg $@
9 $APPL ${1%.dsp}-svg/process.svg&
10 shift
11 for f in $@; do
12 sleep 1
13 $APPL ${f%.dsp}-svg/process.svg&
14 done
15