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
eframe now has its own logic to find the storage_dir to persist the app
when the persistence feature is enabled, instead of using the
directories crate. The directory should be the same as before (verified
with a unit test).
* Closes <emilk#4884>
* [x] I have followed the instructions in the PR template
Copy file name to clipboardExpand all lines: crates/eframe/src/native/file_storage.rs
+91-4
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,80 @@ use std::{
10
10
/// [`egui::ViewportBuilder::app_id`] of [`crate::NativeOptions::viewport`]
11
11
/// or the title argument to [`crate::run_native`].
12
12
///
13
-
/// On native the path is picked using [`directories::ProjectDirs::data_dir`](https://docs.rs/directories/5.0.1/directories/struct.ProjectDirs.html#method.data_dir) which is:
0 commit comments