#!/bin/bash
START=0
case $1 in
  -p|--portable)
  python ./start.py -p
  START=1
  ;;

  -o)
  cd /usr/share/videoporama/
  python ./start.py -o
  START=1
  ;;
  
  -h|--help)
  echo "Usage : videoporama [Option]
  
  Option :
    -p | --portable : Start videoporama as portable version.
    -o              : Start videoporama installed in /usr/bin
    -h | --help     : Display this help file
    
  Without option, videoporama start the installed version."
  START=1
  ;;
  
esac
if [ "$START" = 0 ]; then
  cd /usr/share/videoporama/
  python ./start.py -o
fi
