From fae4de2fba580e4a1a92b853c479b61e856a3a42 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 1 Aug 2023 12:28:20 +0200 Subject: refactor Generalise temporary directory structure (#458) The temp folder we create could be reused for a lot more things, like extracting Northstar before moving files into the correct place. As such adjust the naming and structure to accommodate this. --- src-tauri/src/development/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-tauri/src/development/mod.rs') diff --git a/src-tauri/src/development/mod.rs b/src-tauri/src/development/mod.rs index be02966d..7184904c 100644 --- a/src-tauri/src/development/mod.rs +++ b/src-tauri/src/development/mod.rs @@ -25,7 +25,7 @@ pub async fn install_git_main(game_install_path: &str) -> Result }; let extract_directory = format!( - "{}/___flightcore-temp-download-dir/launcher-pr-{}", + "{}/___flightcore-temp/download-dir/launcher-pr-{}", game_install_path, latest_commit_sha ); match std::fs::create_dir_all(extract_directory.clone()) { -- cgit v1.2.3