aboutsummaryrefslogblamecommitdiffstats
path: root/bin/hackvr
blob: bb0185e13dbcdd9c91f41ffaa9c0f051fc3990a9 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                                                    
                    
  

                       
    
                    
  
#!/usr/bin/env bash
set -eo pipefail
if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
 exec "$HACKVR" "$@"
fi
if [ "$DISPLAY" ]; then
 exec hackvr_x11 "$@"
else
 exec hackvr_fb "$@"
fi