Q1: I packaged an application that uses a file-based Sqlite database (both read/write). However on installation of package, the database by virtue of Linux ownership/folder permissions, becomes read only. Any hints on how this could be avoided and the packaged Sqlite DB could be accessed in both read/write upon install ?
If possible, the best thing to do the first time you open the program is to create the database from scratch.
Otherwise, when the database is opened for the first time, it must be copied to the user's folder (usually hidden) eg.
User.Home &/ ".FolderName".
In packaging, all the files inserted in Data become read-only files.
Q2: Has anyone used the connection created in the GAMBAS IDE ?
- I am keen to understand how does this connection get used in GAMBAS code ?
- Sqlite DB has to be specifically marked as additional file to be loaded into package (and the path where it shall reside on install). Does connection created in IDE give any additional benefit with regards to package creation ?
Sorry, I've never used it, you'd better ask yourself on the
mailing list