添加 补全脚本基本功能
This commit is contained in:
9
install
Normal file
9
install
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt install wget unzip -y
|
||||||
|
wget https://terraria.org/api/download/pc-dedicated-server/terraria-server-$1.zip
|
||||||
|
unzip terraria-server-$1.zip
|
||||||
|
rm terraria-server-$1.zip
|
||||||
|
rm -fr ./$1/Windows/
|
||||||
|
cd $1/Linux/
|
||||||
|
chmod +x TerrariaServer.bin.x86_64
|
||||||
Reference in New Issue
Block a user