Closed rmunn closed 3 months ago
On Linux, the equivalent of C:\ProgramData
is specified by the XDG_DATA_HOME
environment variable. The standard on Linux is to use lowercase app names under XDG_DATA_HOME, so the Linux build of FieldWorks stores its projects in ${XDG_DATA_HOME}/fieldworks/Projects
, backups in ${XDG_DATA_HOME}/fieldworks/backups
, and so on.
Describe the bug Creating a project in FwLite on Linux fails, looking for the path
backend/FwLite/LocalWebApp/C:\ProgramData\SIL\FieldWorks\Projects
which obviously won't exist.To Reproduce Steps to reproduce the behavior:
task local-web-app
inbackend/FwLite
enableDevMode()
to see the Create Project buttonSystem.IO.DirectoryNotFoundException: Could not find a part of the path '.../backend/FwLite/LocalWebApp/C:\ProgramData\SIL\FieldWorks\Projects'
Desktop (please complete the following information):