Lil refactor

This commit is contained in:
Sarina
2024-07-21 18:46:02 +03:30
parent 8ea571eb1b
commit 04ae679294
3 changed files with 17 additions and 21 deletions

View File

@ -1,13 +1,7 @@
#!/bin/bash
define_colors() {
green='\033[0;32m'
cyan='\033[0;36m'
red='\033[0;31m'
yellow='\033[0;33m'
LPurple='\033[1;35m'
NC='\033[0m'
}
source /etc/hysteria/core/scripts/utils.sh
define_colors
install_hysteria() {
# Step 1: Install Hysteria2

10
core/scripts/utils.sh Normal file
View File

@ -0,0 +1,10 @@
# Function to define colors
define_colors() {
green='\033[0;32m'
cyan='\033[0;36m'
red='\033[0;31m'
yellow='\033[0;33m'
LPurple='\033[1;35m'
NC='\033[0m' # No Color
}