aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/github
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-08-01 12:28:20 +0200
committerGitHub <noreply@github.com>2023-08-01 12:28:20 +0200
commitfae4de2fba580e4a1a92b853c479b61e856a3a42 (patch)
treefa819d77932fe56f3cfe5e2019a6a8e3c10ab336 /src-tauri/src/github
parent3563a0bc4748b7c14cbff2240af401fab9d4dc5d (diff)
downloadFlightCore-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/github')
-rw-r--r--src-tauri/src/github/pull_requests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/github/pull_requests.rs b/src-tauri/src/github/pull_requests.rs
index 44b41638..c3079cfd 100644
--- a/src-tauri/src/github/pull_requests.rs
+++ b/src-tauri/src/github/pull_requests.rs
@@ -253,7 +253,7 @@ pub async fn apply_launcher_pr(
};
let extract_directory = format!(
- "{}/___flightcore-temp-download-dir/launcher-pr-{}",
+ "{}/___flightcore-temp/download-dir/launcher-pr-{}",
game_install_path, pull_request.number
);
match std::fs::create_dir_all(extract_directory.clone()) {