We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770d576 commit 0a7c5f9Copy full SHA for 0a7c5f9
cmds/portmaster-core/main.go
@@ -14,6 +14,7 @@ import (
14
"github.com/safing/portmaster/service"
15
"github.com/safing/portmaster/service/configure"
16
"github.com/safing/portmaster/service/updates"
17
+ "github.com/safing/portmaster/spn/conf"
18
)
19
20
var (
@@ -76,6 +77,10 @@ func initializeGlobals(cmd *cobra.Command, args []string) {
76
77
// Configure user agent.
78
updates.UserAgent = fmt.Sprintf("Portmaster Core (%s %s)", runtime.GOOS, runtime.GOARCH)
79
80
+ // Enable SPN client mode
81
+ conf.EnableClient(true)
82
+ conf.EnableIntegration(true)
83
+
84
// Configure service.
85
cmdbase.SvcFactory = func(svcCfg *service.ServiceConfig) (cmdbase.ServiceInstance, error) {
86
svc, err := service.New(svcCfg)
0 commit comments