myzinsky / cloudLogOffline

An App as Offline Frontend for CloudLog
GNU Lesser General Public License v3.0
17 stars 7 forks source link

Make database path configurable and show and error if it can't be found #118

Open Cadair opened 1 month ago

Cadair commented 1 month ago

Hi,

I just started testing out CloudLogOffline, and it wasn't working until I created the ~/Documents directory. So it would be nice if that path was configurable, or it made the parent directory and/or it threw you a warning in the UI if the db was broken / non-existent.

Thanks for the project.

dg0yt commented 1 month ago

On which type of system did this issue occur?

The app uses what Qt assumes to be the writable standard location for documents (QStandardPaths::DocumentsLocation). TBH I wonder if it could use QStandardPaths::AppDataLocation instead. https://doc.qt.io/qt-6/qstandardpaths.html#StandardLocation-enum

Cadair commented 1 month ago

linux (nixos)

Defaulting to AppData would probably be better, although I would still like a config method.