This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot/launch.sh

18 lines
353 B
Bash
Raw Normal View History

2014-06-30 12:53:15 +02:00
#!/bin/sh
2014-07-01 22:06:40 +02:00
cd "$(dirname "$0")"
2014-06-30 12:53:15 +02:00
2014-07-01 22:06:40 +02:00
if [ ! -f ./tg/telegram.h ]; then
echo "Download tg first:"
echo "git submodule update --init --recursive"
exit
fi
2014-09-09 23:17:24 +02:00
if [ ! -f ./tg/bin/telegram-cli ]; then
2014-06-30 12:53:15 +02:00
echo "Compile telegram first:"
echo "cd tg && ./configure && make"
exit
fi
2015-02-15 12:12:52 +01:00
./tg/bin/telegram-cli -k tg/tg-server.pub -s ./bot/bot.lua -l 1