14 lines
257 B
Go
Raw Normal View History

package database
import (
"path/filepath"
)
func (d *database) configureDBPath() error {
2025-09-10 20:06:33 +05:00
d.dbPath = filepath.Join(d.app.Fyne().Storage().RootURI().Path(), "database.sqlite3")
2025-09-10 20:04:19 +05:00
d.logger.Info("Database path configured.", "path", d.dbPath)
return nil
}