mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
18 lines
243 B
Go
18 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()
|
|
}
|