aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/repair_and_verify
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-07 20:24:14 +0100
committerGitHub <noreply@github.com>2022-11-07 20:24:14 +0100
commit1ae49de2b49a0be84b4a842e5a6a2938bcf1889c (patch)
tree0db6e19409c52f885ccf0eb9269cbf92fa7c6037 /src-tauri/src/repair_and_verify
parent1674b0b354faccf9160c904f049182d67253497f (diff)
downloadFlightCore-1ae49de2b49a0be84b4a842e5a6a2938bcf1889c.tar.gz
FlightCore-1ae49de2b49a0be84b4a842e5a6a2938bcf1889c.zip
refactor: Move functions to dedicated file (#41)
Only a single function for now as a sort of proof-of-concept.
Diffstat (limited to 'src-tauri/src/repair_and_verify')
-rw-r--r--src-tauri/src/repair_and_verify/mod.rs3
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 39df916c..8f8fe633 100644
--- a/src-tauri/src/repair_and_verify/mod.rs
+++ b/src-tauri/src/repair_and_verify/mod.rs
@@ -1,6 +1,7 @@
/// Contains various functions to repair common issues and verifying installation
-use app::{get_enabled_mods, set_mod_enabled_status, GameInstall};
+use app::{get_enabled_mods, GameInstall};
+use crate::mod_management::set_mod_enabled_status;
/// Verifies Titanfall2 game files
pub fn verify_game_files(game_install: GameInstall) -> Result<String, String> {