Generally, when we use it manually there is a fixed path where dev team has assigned. For eg: /Application Support//folder used for storing data behind the app.
But every time when app is launched using spectron like:
Data which should have been saved cannot be accessed as everytime new instance created some directory like:
So basically highlighted part is changed after every execution and creates the new same folder structure as i attached in image1.
Is there any way where i can configure to use the same partiton which were used when we manually make the app up?
Or anyway to get the information at runtime, so that i can copy few files to get the data reflected in my app immediately rather then processing everytime.
Generally, when we use it manually there is a fixed path where dev team has assigned. For eg: /Application Support//folder used for storing data behind the app.
But every time when app is launched using spectron like:
Data which should have been saved cannot be accessed as everytime new instance created some directory like:
/private/var/folders/4f/frtzmcsd5yv9zf9p2whcfgqc0000gr/T/.org.chromium.Chromium.XKQ5Vc/
So basically highlighted part is changed after every execution and creates the new same folder structure as i attached in image1.
Is there any way where i can configure to use the same partiton which were used when we manually make the app up?
Or anyway to get the information at runtime, so that i can copy few files to get the data reflected in my app immediately rather then processing everytime.