Stanislav N. aka pztrn 52d99ac126
Some checks failed
Linting and tests / Linting (push) Failing after 4s
Linting and tests / Tests (push) Failing after 4s
Proper database path computation.
2025-09-10 20:06:33 +05:00

14 lines
257 B
Go

package database
import (
"path/filepath"
)
func (d *database) configureDBPath() error {
d.dbPath = filepath.Join(d.app.Fyne().Storage().RootURI().Path(), "database.sqlite3")
d.logger.Info("Database path configured.", "path", d.dbPath)
return nil
}