You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
554 B

#!/bin/bash
CMD_1=$1
CMD_2=$2
EDGE_EXE="/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"
check_command ()
{
if [ -z "$CMD_1" ]
then
echo no argument was given
exit
else
if [ "$CMD_1" == "deepl" ]
then
exec "$EDGE_EXE" www.deepl.com &
exit
elif [ "$CMD_1" == "draw" ]
then
exec "$EDGE_EXE" www.draw.io &
exit
elif [ "$CMD_1" == "citrix" ]
then
exec "$EDGE_EXE" https://unityapps.arrow.com/Citrix/StoreWeb/ &
exit
else
echo "Command not found : $CMD_1"
fi
fi
}
check_command
exit