You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
34.0.2
What operating system(s) are you using?
Windows
Operating System Version
Windows 10 Home 22H2 (build 19045.5371)
What arch are you using?
x64
Last Known Working Electron version
29.2.0
Expected Behavior
My databases folder in user app data should not be deleted when a BrowserWindow instance is created.
>> the "C:\Users\Test\AppData\Roaming\glorious-article-detail-vfgrz\databases" folder does NOT exist. creating it...
>> creating browser window...
>> the "C:\Users\Test\AppData\Roaming\glorious-article-detail-vfgrz\databases" folder does NOT exist.
Actual Behavior
I create the databases folder in user app data on start.
I create a new browser window.
My databases folder is deleted.
Important
If I change the name from databases to foo or anything else, it works as expected and the folder is not deleted.
Preflight Checklist
Electron Version
34.0.2
What operating system(s) are you using?
Windows
Operating System Version
Windows 10 Home 22H2 (build 19045.5371)
What arch are you using?
x64
Last Known Working Electron version
29.2.0
Expected Behavior
My
databasesfolder in user app data should not be deleted when aBrowserWindowinstance is created.Actual Behavior
databasesfolder in user app data on start.databasesfolder is deleted.Important
If I change the name from
databasestofooor anything else, it works as expected and the folder is not deleted.Testcase Gist URL
https://gist.github.com/7671617baf4db8ff7f7d82a37df7ad37
Additional Information
In my app, I persist data in a SQLite database located in the user's app data under a
databasesfolder.I attempted to upgrade from
29.2.xto34.xrecently and noticed that mydatabasesfolder is now being wiped.databasesfolder was not removed in Electron29.x.