#!/usr/bin/bash

if [ "$1" = "--hide" ]; then
    exec /usr/bin/python3 -m faugus.launcher --hide
elif [ "$1" = "--shortcut" ]; then
    exec /usr/bin/python3 -m faugus.shortcut "$2"
elif [ "$1" = "--game" ]; then
    exec /usr/bin/python3 -m faugus.runner --game "$2"
elif [ "$1" = "--run" ]; then
    exec /usr/bin/python3 -m faugus.runner "$2"
elif [ -n "$1" ]; then
    exec /usr/bin/python3 -m faugus.launcher "$1"
else
    exec /usr/bin/python3 -m faugus.launcher
fi
