添加 补全脚本基本功能

This commit is contained in:
2026-04-11 17:32:49 +08:00
parent 1411159383
commit fb500f4573
3 changed files with 13 additions and 0 deletions

9
install Normal file
View 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