Skip to content

chore: unify app data store dir on Windows #455

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leonialla
Copy link
Contributor

On Windows, the WebView-related data is stored under the path %APPDATA%/tinyrdm.exe/EBWebView, whereas other application data is stored under %APPDATA%/TinyRDM.

Would it be possible to unify these paths for better consistency?

@tiny-craft
Copy link
Owner

It's default setting of Wails. Have you test on macOS and Linux when u manual set the WebviewUserDataPath? Are they works well too?

@leonialla
Copy link
Contributor Author

Thanks for your reply!

According to the [Wails documentation](https://wails.io/docs/reference/options/#webviewuserdatapath), this setting only affects the path where runtime data related to [WebView2](https://developer.microsoft.com/en-us/Microsoft-edge/webview2) is stored on Windows. It has no effect on macOS or Linux, and currently, Wails does not offer an equivalent option like WebviewUserDataPath for those platforms.

@tiny-craft
Copy link
Owner

OK, have you try to new install the application (Delete path like %APPDATA%/tinyrdm.exe and %APPDATA%/TinyRDM before), will it still create new directory by webview2 itself?

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.

2 participants