Skip to content

xiao3vv/mtg-dist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtg-dist

Binary dist script for mtg ( https://github.com/9seconds/mtg ).

Note

Update: mtg 1.0+ support MTProto2.0, this script will choose the FakeTLS mode to serve by default. Re-run the install script to upgrade to the latest version. By upgrading to MTProto2.0, the secret would starts with ee, please be noticed.

Install

bash <(wget -qO- https://git.io/mtg.sh)

Uninstall

systemctl stop mtg && systemctl disable mtg 
rm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf    

Compile

The binary bin/mtg is directly compile from mtg repo. It's for linux/amd64 only.

./makebin.sh builds self-extract script using makeself.

About

Binary dist script for mtg.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%