#Save images can't load in production

7 messages · Page 1 of 1 (latest)

proud harness
#

Hi, I am working with saving in images in local directory in electron where I used base64-to-image to save images in /public/items folder. It is working perfectly; I can load images during development . My problem is when I build the application into .exe then I try to save image it is saving files in the C:/Program Files/Appdirectory but I can't load those images in production.

PS: I have given file read write permission to the system.
I am using vuejs for frontend and dexie js to use offline database.

faint hatch
#

You cant write to app directory in prod

proud harness
faint hatch
#

Use other folder

proud harness
faint hatch
#

Show code with other folder