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

Rename local-storage to electron-storage #8310

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

cwangsmv
Copy link
Contributor

@cwangsmv cwangsmv commented Jan 22, 2025

Changes:
Currently, we have a local-storage.ts file used to persistent data in local file.
Since the name is confused with browser native localStorage in render process, rename it to electron-storage to make it more clear.

After this change, localStorage points to the browser native localStorage in render process.
electron-storage is the persistent storage to save data in local files in main process

Copy link
Contributor

@jackkav jackkav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@jackkav jackkav force-pushed the rename-localstorage-to-avoid-confusion branch from 57acc09 to 3ba4336 Compare January 29, 2025 10:31
@jackkav jackkav merged commit f233b61 into develop Jan 29, 2025
9 checks passed
@jackkav jackkav deleted the rename-localstorage-to-avoid-confusion branch January 29, 2025 12:33
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

Successfully merging this pull request may close these issues.

4 participants