paths: remove hardcoded basepath
Before we were hardcoding the basepath with dirs, which isn't that useful for testing, previews, or for android. Let's fix that. This also moves the db and cache directories into our root DataPaths. This is a breaking change, we don't have a migration step. sorry. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -46,12 +46,11 @@ mod view_state;
|
||||
#[macro_use]
|
||||
mod test_utils;
|
||||
|
||||
mod storage;
|
||||
pub mod storage;
|
||||
|
||||
pub use app::Damus;
|
||||
pub use error::Error;
|
||||
pub use profile::DisplayName;
|
||||
pub use storage::DataPaths;
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
use winit::platform::android::EventLoopBuilderExtAndroid;
|
||||
|
||||
Reference in New Issue
Block a user