aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/lib.rs2
-rw-r--r--src-tauri/src/main.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 416efb64..53230f38 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -481,7 +481,7 @@ pub fn set_mod_enabled_status(
/// Gets list of installed mods and their properties
/// - name
/// - is enabled?
-pub fn get_installed_mods(game_install: GameInstall) -> Result<Vec<NorthstarMod>, String> {
+pub fn get_installed_mods_and_properties(game_install: GameInstall) -> Result<Vec<NorthstarMod>, String> {
// Get enabled mods as JSON
let res: serde_json::Value = get_enabled_mods(game_install)?;
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 9cc27e31..e0f6f8ed 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -12,7 +12,7 @@ use std::{
use app::{
check_is_flightcore_outdated, check_is_valid_game_path, check_northstar_running,
check_origin_running, convert_release_candidate_number, find_game_install_location,
- get_enabled_mods, get_host_os, get_installed_mods, get_log_list, get_northstar_version_number,
+ get_enabled_mods, get_host_os, get_installed_mods_and_properties, get_log_list, get_northstar_version_number,
install_northstar, launch_northstar, linux_checks_librs, set_mod_enabled_status, GameInstall, NorthstarMod,
};
@@ -296,5 +296,5 @@ async fn disable_all_but_core_caller(game_install: GameInstall) -> Result<(), St
#[tauri::command]
async fn get_installed_mods_caller(game_install: GameInstall) -> Result<Vec<NorthstarMod>, String> {
- get_installed_mods(game_install)
+ get_installed_mods_and_properties(game_install)
}