From f06840eaea81baba1fcb6b34506ff957256c59e9 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 7 Jan 2025 23:41:38 +0100 Subject: [PATCH] fix scripts --- install.sh | 4 ++-- s-ui.sh | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index c74334a..739ecd3 100755 --- a/install.sh +++ b/install.sh @@ -224,7 +224,7 @@ install_s-ui() { tar zxvf s-ui-linux-$(arch).tar.gz rm s-ui-linux-$(arch).tar.gz -f - chmod +x s-ui/sui /s-ui/s-ui.sh + chmod +x s-ui/sui s-ui/s-ui.sh cp s-ui/s-ui.sh /usr/bin/s-ui cp -rf s-ui /usr/local/ cp -f s-ui/*.service /etc/systemd/system/ @@ -236,7 +236,7 @@ install_s-ui() { systemctl enable s-ui --now echo -e "${green}s-ui v${last_version}${plain} installation finished, it is up and running now..." - echo -e "You may access the Panel with following URL(s):${yellow}" + echo -e "You may access the Panel with following URL(s):${green}" /usr/local/s-ui/sui uri echo -e "${plain}" echo -e "" diff --git a/s-ui.sh b/s-ui.sh index f10e105..1e2cc18 100644 --- a/s-ui.sh +++ b/s-ui.sh @@ -251,6 +251,7 @@ set_setting() { view_setting() { /usr/local/s-ui/sui setting -show + view_uri before_show_menu } @@ -261,7 +262,7 @@ view_uri() { before_show_menu fi LOGI "You may access the Panel with following URL(s):" - echo -e "${yellow}${info}${reset}" + echo -e "${green}${info}${plain}" } start() { @@ -850,7 +851,7 @@ show_menu() { check_install && set_setting ;; 10) - check_install && view_setting && view_uri + check_install && view_setting ;; 11) check_install && start s-ui