diff options
author | Jan <sentrycraft123@gmail.com> | 2023-08-01 12:28:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-01 12:28:20 +0200 |
commit | fae4de2fba580e4a1a92b853c479b61e856a3a42 (patch) | |
tree | fa819d77932fe56f3cfe5e2019a6a8e3c10ab336 /src-tauri/src/development | |
parent | 3563a0bc4748b7c14cbff2240af401fab9d4dc5d (diff) | |
download | FlightCore-fae4de2fba580e4a1a92b853c479b61e856a3a42.tar.gz FlightCore-fae4de2fba580e4a1a92b853c479b61e856a3a42.zip |
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.
Diffstat (limited to 'src-tauri/src/development')
-rw-r--r-- | src-tauri/src/development/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, String> }; 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()) { |