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

electron-settings and electron-log cannot create AppData/Local/Packages/<appx>/LocalCache/Roaming subfolder #144

Open
conteit opened this issue Mar 19, 2021 · 1 comment

Comments

@conteit
Copy link

conteit commented Mar 19, 2021

I'm using electron-forge for generating an Electron app (v. 11.x).

I'm trying to use electron-settings and electron-log for managing settings and log files in a platform independent way and exploiting AppData folders on Windows.

If I run the application as a standard windows app files gets automatically created in AppData/Roaming folder.
But if I bundle the app as an UWP Appx the app is not able to create them or write to them until I manually create them.

Once somebody creates the files (in AppData/Local/Packages//LocalCache/Roaming) the app uses them, otherwise the app silently fails accessing them:

  • log calls succeed but nothing gets written nor the file created
  • settings file uses defaults like the file is empty and is not able to write defaults to it nor creating the default settings file

Without the Appx wrapping files gets handled automatically. Any idea why?

@T-serhiibulakh
Copy link

@conteit Hello) Did you find a solution?

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

2 participants