mirror of
https://github.com/safing/portmaster.git
synced 2026-12-05 18:13:22 +00:00
19 lines
243 B
Go
19 lines
243 B
Go
package ui
|
|
|
|
import (
|
|
"github.com/Safing/portbase/modules"
|
|
)
|
|
|
|
func init() {
|
|
modules.Register("ui", prep, nil, nil, "updates", "api")
|
|
}
|
|
|
|
func prep() error {
|
|
err := launchUIByFlag()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return registerRoutes()
|
|
}
|