Persist direct/manual proxy settings in Client Studio and apply them to resource, Unity and native requests, with loopback bypass and no automatic system proxy. Pool WinHTTP/curl connections, bound workers and deadlines, cancel safely, and log queue and transport timings without exposing sensitive paths. Return explicit relay failures, probe through native HTTP, retry interrupted requests and recognize completed home, field and pack scenes during recovery.
20 lines
311 B
Go
20 lines
311 B
Go
//go:build !windows && !darwin
|
|
|
|
package app
|
|
|
|
import (
|
|
"errors"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func ShowFatalError(err error) {
|
|
if err != nil {
|
|
_, _ = fmt.Fprintln(os.Stderr, "BD2 Client Studio:", err)
|
|
}
|
|
}
|
|
|
|
func launchGame(string, string) error {
|
|
return errors.New("the Brown Dust II client is not supported on Linux")
|
|
}
|