added bash script to automatically start gameplay

This commit is contained in:
2021-08-22 01:08:01 +04:00
parent c5bed3afa2
commit 27c7e264b8
9 changed files with 77 additions and 42 deletions

View File

@@ -23,7 +23,7 @@ type Config struct {
BarrierHostName string
Rooms string
IPAddress string
BinaryToExecute string
ScriptToExecute string
}
// Exists reports whether the named file or directory exists.
@@ -62,7 +62,7 @@ func SetDefaults() error {
defaults["BarrierHostName"] = name
defaults["Rooms"] = defaultPath + "room.json"
defaults["IPAddress"] = "0.0.0.0"
defaults["BinaryToExecute"] = "/home/akilan/.local/share/Steam/steamapps/common/X-Plane 11"
defaults["ScriptToExecute"] = ""
//Paths to search for config file
configPaths = append(configPaths, defaultPath)