Skip to content

Rename local-storage to electron-storage#8310

Merged
jackkav merged 2 commits into
developfrom
rename-localstorage-to-avoid-confusion
Jan 29, 2025
Merged

Rename local-storage to electron-storage#8310
jackkav merged 2 commits into
developfrom
rename-localstorage-to-avoid-confusion

Conversation

@cwangsmv
Copy link
Copy Markdown
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
Copy Markdown
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
@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