diff options
author | Jan <sentrycraft123@gmail.com> | 2023-08-03 19:19:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 19:19:42 +0200 |
commit | cc255628361c6da04f39256ebfd4c647be11a613 (patch) | |
tree | 510404db4ca6028f88dd800633e289f2084376e6 | |
parent | 52b8d87d02e14812fd49cd70f574fa81bc437eb4 (diff) | |
download | FlightCore-cc255628361c6da04f39256ebfd4c647be11a613.tar.gz FlightCore-cc255628361c6da04f39256ebfd4c647be11a613.zip |
fix: Add extract dir to cleanup (#466)
Add extract dir to cleanup
-rw-r--r-- | src-tauri/src/repair_and_verify/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-tauri/src/repair_and_verify/mod.rs b/src-tauri/src/repair_and_verify/mod.rs index 29cc9613..6b9d3a98 100644 --- a/src-tauri/src/repair_and_verify/mod.rs +++ b/src-tauri/src/repair_and_verify/mod.rs @@ -40,9 +40,10 @@ pub fn clean_up_download_folder( game_install: &GameInstall, force: bool, ) -> Result<(), anyhow::Error> { - const TEMPORARY_DIRECTORIES: [&str; 3] = [ + const TEMPORARY_DIRECTORIES: [&str; 4] = [ "___flightcore-temp-download-dir", "___flightcore-temp/download-dir", + "___flightcore-temp/extract-dir", "___flightcore-temp", ]; |