Add windowskext integration, update related packages

This commit is contained in:
Daniel
2019-04-26 11:33:24 +02:00
parent a702cd4824
commit 78a0b3c1fb
33 changed files with 979 additions and 690 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"os"
"os/signal"
"runtime"
"syscall"
"github.com/Safing/portbase/info"
@@ -16,6 +17,8 @@ import (
func main() {
runtime.GOMAXPROCS(4)
// Set Info
info.Set("Portmaster (DNS only)", "0.2.0", "AGPLv3", false)
@@ -25,10 +28,7 @@ func main() {
if err == modules.ErrCleanExit {
os.Exit(0)
} else {
err = modules.Shutdown()
if err != nil {
log.Shutdown()
}
modules.Shutdown()
os.Exit(1)
}
}