forked from Cleako/Game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGo-Linux.sh
executable file
·43 lines (38 loc) · 989 Bytes
/
Go-Linux.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
exec 0</dev/tty
RED=`tput setaf 1`
GREEN=`tput setaf 2`
NC=`tput sgr0` # No Color
# Open RSC: A replica RSC private server framework
#
# Multi-purpose script for Open RSC
#
# Install everything with this command:
#
# bash <(curl -s https://raw.githubusercontent.com/Open-RSC/Game/2.0.0/scripts/clone.sh)
echo ""
echo "${RED}Open RSC${NC}
An easy to use RSC private server framework.
What would you like to do?
Choices:
${RED}1${NC} - Install
${RED}2${NC} - Update & Compile Changes
${RED}3${NC} - Run Server
${RED}4${NC} - Perform a Hard Reset
${RED}5${NC} - Exit"
echo ""
echo "Which of the above do you wish to do? Type the choice number and press enter."
echo ""
read action
if [ "$action" == "1" ]; then
sudo apt install make -y
make combined-install
elif [ "$action" == "2" ]; then
make get-updates
elif [ "$action" == "3" ]; then
make run-game
elif [ "$action" == "4" ]; then
make hard-reset
elif [ "$action" == "5" ]; then
exit
fi