#!/bin/bash # This code is part of RF Swift by @Penthertz # Author(s): Sรฉbastien Dudek (@FlUxIuS) source common.sh display_rainbow_logo_animated echo -e "${YELLOW}๐Ÿ“ก This script will set up your RF Swift environment ๐Ÿ“ก${NC}" # Call the new functions as part of the setup process echo -e "${YELLOW}[+] Checking xhost installation${NC}" check_xhost echo -e "${YELLOW}[+] Checking PulseAudio installation${NC}" check_pulseaudio echo -e "${YELLOW}[+] Checking cURL installation${NC}" check_curl echo -e "${YELLOW}[+] Checking Docker installation${NC}" check_docker_user_only # Ensure Go binary is in the PATH for the current script session export PATH=$PATH:/usr/local/go/bin # Check config file check_config_file # Ask the user if they want to create an alias after the installation install_binary_alias echo -e "${GREEN}๐ŸŽ‰ RF Swift setup complete! ๐ŸŽ‰${NC}" echo -e "${YELLOW}๐Ÿ™ Thank you for using RF Swift by @Penthertz ๐Ÿ™${NC}" echo -e "${YELLOW}๐Ÿ‘จโ€๐Ÿ’ป Author(s): Sรฉbastien Dudek (@FlUxIuS) ๐Ÿ‘จโ€๐Ÿ’ป${NC}" echo -e "${GREEN}๐Ÿ”ง Happy hacking! ๐Ÿ”ง${NC}"