Closed zababurinsv closed 3 years ago
@zababurinsv I'm not sure I understand the question. Did you manage to resolve it? Can you elaborate otherwise?
How can i setDataPath inside my application in dir storage/words.json
Are you trying to set the data path to be inside the application along with the source code? If so, keep in mind that this will not play nicely in production as your application will likely be code-signed and therefore must be treated as read-only, else the signature will break.
My folder structure looked like this.
I build application with
"electron-builder": "^22.9.1"
I install
electron-json-storage
My
package.json
I can set folder in cwd.
How can i setDataPath inside my application in dir
storage/words.json
?