common forge.Init()
This commit is contained in:
parent
b30ecc89fb
commit
efb966b3f8
8
main.go
8
main.go
|
@ -49,13 +49,7 @@ func main() {
|
||||||
me.myGui = prep.Gui() // prepares the GUI package for go-args
|
me.myGui = prep.Gui() // prepares the GUI package for go-args
|
||||||
me.pp = arg.MustParse(&argv)
|
me.pp = arg.MustParse(&argv)
|
||||||
|
|
||||||
// load the ~/.config/forge/ config
|
me.forge = forgepb.Init()
|
||||||
cfg, err := configInit()
|
|
||||||
if err != nil {
|
|
||||||
badExit(err)
|
|
||||||
}
|
|
||||||
me.forge = forgepb.InitFromConfig(cfg)
|
|
||||||
me.forge.InitScan()
|
|
||||||
|
|
||||||
// initialize patches
|
// initialize patches
|
||||||
doPatchInit()
|
doPatchInit()
|
||||||
|
|
Loading…
Reference in New Issue