mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 09:39:19 +00:00
Impoved clarity of instructions
This commit is contained in:
parent
a1b819b2df
commit
a5007a4392
12
install.sh
12
install.sh
@ -37,7 +37,7 @@ valid_ip() {
|
|||||||
|
|
||||||
# Checks for supported installer(s) (only apt-get for now :(, might add pacman in the future)
|
# Checks for supported installer(s) (only apt-get for now :(, might add pacman in the future)
|
||||||
if is_command apt-get ; then
|
if is_command apt-get ; then
|
||||||
echo "Supported package manager found"
|
echo -e "Supported package manager found\n"
|
||||||
else
|
else
|
||||||
echo "No supported package manager found"
|
echo "No supported package manager found"
|
||||||
exit
|
exit
|
||||||
@ -101,7 +101,7 @@ mv ./repo/data ./data
|
|||||||
mv ./repo/keys ./keys
|
mv ./repo/keys ./keys
|
||||||
|
|
||||||
# Generate handbook/config
|
# Generate handbook/config
|
||||||
echo "Please enter language when prompted (press enter/return to resume script)"
|
echo "Please enter language when *NEXT* prompted (press enter/return to continue to language select)"
|
||||||
read
|
read
|
||||||
java -jar grasscutter.jar -handbook
|
java -jar grasscutter.jar -handbook
|
||||||
|
|
||||||
@ -186,12 +186,12 @@ cd ../
|
|||||||
mv ./certs/keystore.p12 ./keystore.p12
|
mv ./certs/keystore.p12 ./keystore.p12
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
echo "Asking Noelle to clean up..."
|
echo -e "Asking Noelle to clean up...\n"
|
||||||
rm -rf Grasscutter.zip resources.zip ./certs ./Grasscutter_Resources-main ./repo
|
rm -rf Grasscutter.zip resources.zip ./certs ./Grasscutter_Resources-main ./repo
|
||||||
echo "All done!"
|
echo -e "All done!\n"
|
||||||
echo -e "You can now uninstall the following packages if you wish:\n$INSTALLER_DEPS"
|
echo -e "You can now uninstall the following packages if you wish:\n$INSTALLER_DEPS"
|
||||||
echo "-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-"
|
echo -e "-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-\n"
|
||||||
echo "Please make sure that ports 443 and 22102 are OPEN"
|
echo "Please make sure that ports 443 and 22102 are OPEN (both tcp and udp)"
|
||||||
echo -e "In order to run the server, run the following command:\nsudo java -jar grasscutter.jar"
|
echo -e "In order to run the server, run the following command:\nsudo java -jar grasscutter.jar"
|
||||||
echo "You must run it using sudo as port 443 is a privileged port"
|
echo "You must run it using sudo as port 443 is a privileged port"
|
||||||
echo "To play, use the IP you provided earlier ($SERVER_IP) via GrassClipper or Fiddler"
|
echo "To play, use the IP you provided earlier ($SERVER_IP) via GrassClipper or Fiddler"
|
||||||
|
Loading…
Reference in New Issue
Block a user