Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectron always creates new instance of partitions of electron app #976

Open
rik12s opened this issue Jun 16, 2021 · 0 comments
Open

Spectron always creates new instance of partitions of electron app #976

rik12s opened this issue Jun 16, 2021 · 0 comments

Comments

@rik12s
Copy link

rik12s commented Jun 16, 2021

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.

image

But every time when app is launched using spectron like:

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant