Corrected an error at mail.sh

master
key 4 years ago
parent c94ed04941
commit 7996e549fa

@ -49,7 +49,6 @@ command_translator ()
TO_OPEN=$OTLK_SENT
else
echo Invalid command : $CMD_1
exit
fi
}
@ -69,6 +68,7 @@ check_command ()
goto_folder
else
command_translator
TO_OPEN=$TO_OPEN/$CMD_2
goto_folder
fi
fi

@ -4,6 +4,7 @@ CMD_1=$1
CMD_2=$2
EDGE_EXE="/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"
TEAMS_EXE="/mnt/c/Users/144311/AppData/Local/Microsoft/Teams/Update.exe"
check_command ()
{
@ -15,15 +16,15 @@ check_command ()
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
elif [ "$CMD_1" == "teams" ]
then
exec "$TEAMS_EXE" --processStart "Teams.exe" &
else
echo "Command not found : $CMD_1"
fi

Loading…
Cancel
Save