Replies: 1 comment
-
|
That folder is the WebView's user-data directory (cookies, cache, localStorage, IndexedDB). The webview needs somewhere to keep that, so you can't turn it off outright, but you can stop the pileup. By default dioxus picks the path for you, and you're landing a fresh use dioxus_desktop::Config;
Config::new().with_data_directory("/path/to/appdata")Point it wherever you want (even a folder inside your project that you gitignore, if you want it disposable). Same path every build means one dir, no more churn. For the stale ones already sitting in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that the dioxus cli makes a directory for local storage when building desktop apps, in my case
~/.local/share/<app-name>-<hash>, every new build. I don't plan on using it so I'd rather it not make them, but I couldn't find out how to stop it. Is there a way to disable it?Additionally, is there a quick method for cleaning stale builds? I don't see a
cleancommand in the cli.Beta Was this translation helpful? Give feedback.
All reactions