Configuration and tray icon.
Configuration is now properly saved for parameters in Options window. Also they are restored fine. Added tray icon with two default actions: show/hide and exit. More to come.
This commit is contained in:
@@ -53,7 +53,7 @@ func (ctx *Context) initializeConfig() {
|
||||
|
||||
func (ctx *Context) initializeDatabase() {
|
||||
ctx.Database = database.New(ctx.Cfg)
|
||||
ctx.Database.Initialize()
|
||||
ctx.Database.Initialize(ctx.Cfg)
|
||||
ctx.Database.Migrate()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user