Comment by yellowapple
5 years ago
You could always have a lock file alongside the main to signal to other instances of the app that the file's in use. A bit janky, but workable.
5 years ago
You could always have a lock file alongside the main to signal to other instances of the app that the file's in use. A bit janky, but workable.
That's no worse than what applications often already do when they use a simpler file format.
But you also have to worry about SQLite (reasonably) refusing to operate because it tries to make a locking call and gets an error response. I think there are options to turn that off, though.