fix: display rotation
This commit is contained in:
@ -158,6 +158,8 @@ pub async fn init_profile(
|
||||
if let Some(new_profile) = Profile::new(exe_path) {
|
||||
new_profile.save().await;
|
||||
appd.profile = Some(new_profile.clone());
|
||||
fs::create_dir_all(new_profile.dir()).await
|
||||
.map_err(|e| format!("Unable to create the profile directory: {}", e))?;
|
||||
|
||||
Ok(new_profile)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user