After creating build for MAC using electron "SQLITE_ERROR: Attempt to write a readonly database" Error occured


#1

We are using electron and sqlite in our application. All works fine in dev enviornment. But when we create a build (in mac 10.12) the database become readonly. We have given “rw” permission to every folder even to the database but the error doesn’t reslove. This error is coming only in the mac 10.12, its working great in lower versions of MAC. After creating build for MAC using electron “SQLITE_ERROR: Attempt to write a readonly database” Error occured.
Please help.