12 lines
238 B
Go
Raw Normal View History

package database
import (
"path/filepath"
)
2025-09-11 02:30:15 +05:00
func (d *database) configureDBPath() {
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)
}