From a85c7dfde6fc71987bca260ccaa1240a6c084dab Mon Sep 17 00:00:00 2001 From: teamx-cloner <150880343+xteam-cloner@users.noreply.github.com> Date: Wed, 26 Nov 2025 00:38:20 +0700 Subject: [PATCH] Update startup --- startup | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/startup b/startup index f0ff9a1d9..3f6526854 100644 --- a/startup +++ b/startup @@ -15,5 +15,16 @@ echo " Visit @TheUltroid for updates!! " -if [ -f .env ] ; then set -o allexport; source .env; set +o allexport ; fi -if [ $SESSION1 ] ; then python3 multi_client.py ; else python3 -m pyUltroid ; fi +if [ -f .env ] ; then + set -o allexport; + source .env; + set +o allexport ; +fi + +if [ "$SESSION2" ] || [ "$SESSION1" ] ; then + echo "Starting in Multi-Client Mode..." + python3 multi_client.py +else + echo "Starting in Single-Client Mode..." + python3 -m pyUltroid +fi