Skip to content

Commit

Permalink
fix(cmds): migrate custom app dir typo (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Mar 17, 2024
1 parent 4e45b98 commit a3e99c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tauri/src/cmds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ pub async fn set_custom_app_dir(path: String) -> CmdResult {
let msg = t!("dialog.custom_app_dir_migrate", path = path_str).to_string();
if migrate_dialog(&msg) {
let new_dir = PathBuf::from(path_str);
let old_dir = dirs::old_app_home_dir().unwrap();
let old_dir = dirs::app_home_dir().unwrap();
do_config_migration(&old_dir, &new_dir)?;
}
Ok::<_, anyhow::Error>(())
Expand Down

0 comments on commit a3e99c3

Please sign in to comment.