mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-20 11:16:04 +00:00
v2.4.10: stats auto-install + i18n for show_proxy_info, traffic stats (SSH+bot)
This commit is contained in:
10
install.sh
10
install.sh
@@ -397,6 +397,11 @@ install_lite_mode() {
|
||||
# Save GoTelegram config
|
||||
save_gotelegram_config "telemt" "lite" "$port" "$secret" "$domain" "" ""
|
||||
|
||||
# Auto-install stats collector so stats work from the start
|
||||
if type install_stats_collector &>/dev/null; then
|
||||
install_stats_collector 2>/dev/null
|
||||
fi
|
||||
|
||||
# Credits
|
||||
show_credits
|
||||
|
||||
@@ -512,6 +517,11 @@ install_pro_mode() {
|
||||
tpl_id=$(basename "$template_dir")
|
||||
save_gotelegram_config "telemt" "pro" "443" "$raw_secret" "$user_domain" "$user_domain" "$tpl_id"
|
||||
|
||||
# Auto-install stats collector so stats work from the start
|
||||
if type install_stats_collector &>/dev/null; then
|
||||
install_stats_collector 2>/dev/null
|
||||
fi
|
||||
|
||||
# Result — use domain and fake-TLS link
|
||||
show_proxy_info_pro "$user_domain" "$faketls_secret"
|
||||
echo -e " ${WHITE}$(t svc_site):${NC} ${GREEN}https://${user_domain}${NC}"
|
||||
|
||||
Reference in New Issue
Block a user