diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-02-11 18:33:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 18:33:15 +0100 |
commit | fc00447ccc3f63a54faca3d666701c19d9b8b8db (patch) | |
tree | 501b8f6691f096d3cb69a8a3a2cb5681fa5acebf /src-tauri/src/repair_and_verify | |
parent | fd4712accb319cd0084f7e97fea4d9d1299d8938 (diff) | |
download | FlightCore-fc00447ccc3f63a54faca3d666701c19d9b8b8db.tar.gz FlightCore-fc00447ccc3f63a54faca3d666701c19d9b8b8db.zip |
refactor: Move various consts to `constants.rs` (#162)
* refactor: Move list of core mods to consts source
Move the list of core Northstar mods to constants.rs
* fix: Add missing newline
* refactor: Move list of blacklisted mods to consts
source file
* refactor: Move list of TF2 Origin IDs to consts
source file
Diffstat (limited to 'src-tauri/src/repair_and_verify')
-rw-r--r-- | src-tauri/src/repair_and_verify/mod.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src-tauri/src/repair_and_verify/mod.rs b/src-tauri/src/repair_and_verify/mod.rs index 5d58dfaf..9d020f15 100644 --- a/src-tauri/src/repair_and_verify/mod.rs +++ b/src-tauri/src/repair_and_verify/mod.rs @@ -1,10 +1,7 @@ -use crate::{ - mod_management::{rebuild_enabled_mods_json, set_mod_enabled_status}, - northstar::CORE_MODS, -}; +use crate::mod_management::{rebuild_enabled_mods_json, set_mod_enabled_status}; use anyhow::anyhow; /// Contains various functions to repair common issues and verifying installation -use app::{get_enabled_mods, GameInstall}; +use app::{constants::CORE_MODS, get_enabled_mods, GameInstall}; /// Verifies Titanfall2 game files #[tauri::command] |