Add SPN integration
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portbase/run"
|
||||
"github.com/safing/spn/conf"
|
||||
|
||||
// include packages here
|
||||
_ "github.com/safing/portbase/modules/subsystems"
|
||||
@@ -12,9 +13,16 @@ import (
|
||||
_ "github.com/safing/portmaster/firewall"
|
||||
_ "github.com/safing/portmaster/nameserver"
|
||||
_ "github.com/safing/portmaster/ui"
|
||||
_ "github.com/safing/spn/captain"
|
||||
)
|
||||
|
||||
func main() {
|
||||
info.Set("Portmaster", "0.4.18", "AGPLv3", true)
|
||||
// set information
|
||||
info.Set("Portmaster", "0.5.0", "AGPLv3", true)
|
||||
|
||||
// enable SPN client mode
|
||||
conf.EnableClient(true)
|
||||
|
||||
// start
|
||||
os.Exit(run.Run())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user