Add updates module and fix issues

This commit is contained in:
Daniel
2019-01-24 15:23:02 +01:00
parent bde81d815d
commit 20af9efecc
22 changed files with 953 additions and 96 deletions

View File

@@ -5,13 +5,14 @@ import (
)
func init() {
modules.Register("ui", prep, start, stop, "database", "api")
modules.Register("ui", prep, nil, nil, "updates", "api")
}
func prep() error {
return nil
}
err := launchUIByFlag()
if err != nil {
return err
}
func stop() error {
return nil
return registerRoutes()
}