mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Simplify resources
code, enabling any resource to be overridden (not just translations)
This commit is contained in:
parent
9072412812
commit
fa3471f527
6 changed files with 30 additions and 20 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/navidrome/navidrome/consts"
|
||||
"github.com/navidrome/navidrome/db"
|
||||
"github.com/navidrome/navidrome/log"
|
||||
"github.com/navidrome/navidrome/resources"
|
||||
"github.com/navidrome/navidrome/scheduler"
|
||||
"github.com/oklog/run"
|
||||
"github.com/spf13/cobra"
|
||||
|
@ -45,7 +46,7 @@ func Execute() {
|
|||
|
||||
func preRun() {
|
||||
if !noBanner {
|
||||
println(consts.Banner())
|
||||
println(resources.Banner())
|
||||
}
|
||||
conf.Load()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue