Move portmaster binary to cmds/portmaster-core
This commit is contained in:
20
cmds/portmaster-core/main.go
Normal file
20
cmds/portmaster-core/main.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portbase/run"
|
||||
|
||||
// include packages here
|
||||
_ "github.com/safing/portbase/modules/subsystems"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/firewall"
|
||||
_ "github.com/safing/portmaster/nameserver"
|
||||
_ "github.com/safing/portmaster/ui"
|
||||
)
|
||||
|
||||
func main() {
|
||||
info.Set("Portmaster", "0.4.15", "AGPLv3", true)
|
||||
os.Exit(run.Run())
|
||||
}
|
||||
Reference in New Issue
Block a user