Skip to content

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

@rik12s

Description

@rik12s

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions