Skip to content

Commit

Permalink
Feat: Adding install marzban
Browse files Browse the repository at this point in the history
  • Loading branch information
llaravell committed Oct 1, 2024
1 parent a8e0b19 commit 5f53943
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mahimana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,14 @@ InstallHiddify() {
main;
}

InstallMarzban() {
printf "${Blue} 🚀 Starting install Marzban ... ${NC} \n";
bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install
printf "${Green} 🎉 Marzban is installed ${NC} \n";
sleep 5;
main;
}

# Main
main() {
clear
Expand Down Expand Up @@ -733,6 +741,7 @@ main() {
printf "${Cyan}18. Delete OS user${NC}\n"
printf "${Cyan}19. Install x-ui${NC}\n"
printf "${Cyan}20. Install Hiddify${NC}\n"
printf "${Cyan}21. Install Marzban${NC}\n"

read -p "Enter your choice: " choice

Expand Down Expand Up @@ -797,6 +806,9 @@ main() {
20)
InstallHiddify
;;
21)
InstallMarzban
;;
*)
printf "${Red}Invalid choice. Exiting.${NC}\n"
exit 1
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Here're some of the project's best features:
* Delete an user
* Install X-UI (MHSanaei)
* Install Hiddify
* Install Marzban

<h2>🛠️ Usage</h2>

Expand Down

0 comments on commit 5f53943

Please sign in to comment.