added possiblity to execute custom command when starting a screenshare
This commit is contained in:
@@ -23,6 +23,7 @@ type Config struct {
|
||||
BarrierHostName string
|
||||
Rooms string
|
||||
IPAddress string
|
||||
BinaryToExecute string
|
||||
}
|
||||
|
||||
// Exists reports whether the named file or directory exists.
|
||||
@@ -61,6 +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"
|
||||
|
||||
//Paths to search for config file
|
||||
configPaths = append(configPaths, defaultPath)
|
||||
|
||||
Reference in New Issue
Block a user