diff options
author | Jan <sentrycraft123@gmail.com> | 2023-07-30 01:24:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-30 01:24:18 +0200 |
commit | 40520344778a98c45817e9cbc00caab6ec3ea6bf (patch) | |
tree | 1b60a9ea7801734b27ac120c65c016ea1e38d4a7 /src-tauri/src/repair_and_verify/mod.rs | |
parent | 399f0e78b4773aa97a8a80c43fb2312ea830a845 (diff) | |
download | FlightCore-40520344778a98c45817e9cbc00caab6ec3ea6bf.tar.gz FlightCore-40520344778a98c45817e9cbc00caab6ec3ea6bf.zip |
refactor: Add Profile to GameInstall (#453)
Add Profile to GameInstall
Replace hardcoded uses of R2Northstar with profile attribute
Diffstat (limited to 'src-tauri/src/repair_and_verify/mod.rs')
-rw-r--r-- | src-tauri/src/repair_and_verify/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/repair_and_verify/mod.rs b/src-tauri/src/repair_and_verify/mod.rs index 92835a4e..17c71992 100644 --- a/src-tauri/src/repair_and_verify/mod.rs +++ b/src-tauri/src/repair_and_verify/mod.rs @@ -66,7 +66,7 @@ pub fn clean_up_download_folder( /// Get list of Northstar logs #[tauri::command] pub fn get_log_list(game_install: GameInstall) -> Result<Vec<std::path::PathBuf>, String> { - let ns_log_folder = format!("{}/R2Northstar/logs", game_install.game_path); + let ns_log_folder = format!("{}/{}/logs", game_install.game_path, game_install.profile); // List files in logs folder let paths = match std::fs::read_dir(ns_log_folder) { |