Updated launch script

This commit is contained in:
yago 2014-09-09 23:17:24 +02:00
parent b3834e1876
commit b3b52c20b3

View File

@ -8,10 +8,10 @@ if [ ! -f ./tg/telegram.h ]; then
exit
fi
if [ ! -f ./tg/telegram ]; then
if [ ! -f ./tg/bin/telegram-cli ]; then
echo "Compile telegram first:"
echo "cd tg && ./configure && make"
exit
fi
./tg/telegram -k tg/tg-server.pub -s ./bot/bot.lua
./tg/bin/telegram-cli -k tg/tg-server.pub -s ./bot/bot.lua