How to use:
- Get your bot API key from Telegram's BotFather
- Assign BOT API Key in
bot-mega.config
export BOT_API_KEY=ABCD12345:12345AbCDefghIJK- Create a public group and add your bot there then assign group tag
export CHAT_ID=@groupname- Assign your configs for eg. to build LineageOS for h930(LG v30 h930)
# Configs
ROM=lineage
DEVICE=h930- Assign your Manual Configs (info for Telegram post)
# Manual Configs
A_VERSION="Android 10"
TG_NAME="@N7\_BADA"
FULL_ROM_NAME="Corvus OS"
FULL_DEVICE_NAME="LG v30 H930"
BUILD_DATE=$(date +%Y-%m-%d)
BUILD_TYPE="Bot Build"
NOTES="Not Tested!"- Assign your # Directories to create on MEGA shows up as /Root/$DEVICE_DIR/$ROM_DIR
# Directories
DEVICE_DIR="H930"
ROM_DIR="Corvus"- After all the above is set, Here's an example of the Output on Telegram after running the
bot-mega.sh:
- Extra 1,
output.shposts a test output on Telegram,
# Extra
bash output.sh - Extra 2,
repost.shwill reupload or fetch the link of the latest build and post it on Telegram.
# Extra
bash repost.sh (PS: in some cases like AEX,Corvus,Derpfest build command is mka aex, make corvus, mka kronic according to aex, corvus, derpfest build docs, you can change build command from line 18 and 19`)
------------------------------------------------How to use:
- Get your bot API key from Telegram's BotFather
- Assign BOT API Key in
bot.config
export BOT_API_KEY=ABCD12345:12345AbCDefghIJK- Create a public group and add your bot there then assign group tag
export CHAT_ID=@groupname- Assign your configs for eg. to build LineageOS for mido(Redmi note 4)
# Configs
ROMM=lineage
DEBICE=mido
VENDUR=xiaomi- Misc Changes (these configs will be sent as message and wont affect any change in build)
ZIPNAMwill send package name to sendBUILD_TAIPwill set build type for eg.TestorAlphaNOTESwill attach your message or note to send over telegram
(PS: in some cases like AEX build command is mka aex according to aex build docs, you can change build command from here`)
