fix: display rotation

This commit is contained in:
2025-03-03 20:44:00 +00:00
parent cde0752da2
commit 9669fc3905
3 changed files with 16 additions and 11 deletions

View File

@ -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 {