diff --git a/launcher/launcher_object.go b/launcher/launcher_object.go index f9db1af..dc65f9f 100644 --- a/launcher/launcher_object.go +++ b/launcher/launcher_object.go @@ -15,6 +15,7 @@ import ( "fmt" "os" "os/exec" + "runtime" "strconv" "strings" @@ -69,6 +70,9 @@ func (l *Launcher) Launch(server_profile *datamodels.Server, user_profile *datam if err != nil { fmt.Println(err.Error()) } + if runtime.GOOS == "darwin" { + launch_bin = launch_bin + "/Contents/MacOS/Quake3-UrT.x86_64" + } server_address := server_profile.Ip + ":" + server_profile.Port