launch-dedicated.sh: Support passing args from CLI
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
# example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details
|
||||
Name="Dedicated Server"
|
||||
Mod="ra"
|
||||
Name="${Name:-"Dedicated Server"}"
|
||||
Mod="${Mod:-"ra"}"
|
||||
Dedicated="True"
|
||||
DedicatedLoop="True"
|
||||
ListenPort=1234
|
||||
ExternalPort=1234
|
||||
AdvertiseOnline="False"
|
||||
ListenPort="${ListenPort:-"1234"}"
|
||||
ExternalPort="${ExternalPort:-"1234"}"
|
||||
AdvertiseOnline="${AdvertiseOnline:-"False"}"
|
||||
|
||||
while true; do
|
||||
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
|
||||
|
||||
Reference in New Issue
Block a user