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 b249d519..8a97a108 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -231,7 +231,7 @@ async fn do_install(nmod: &thermite::model::Mod, game_path: &std::path::Path) ->
pub async fn install_northstar(
game_path: &str,
northstar_package_name: Option<String>,
-) -> Result<String> {
+) -> Result<String, String> {
let northstar_package_name = match northstar_package_name {
Some(northstar_package_name) => {
if northstar_package_name.len() <= 1 {
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 411e75c9..4826ef52 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -73,7 +73,7 @@ fn main() {
.invoke_handler(tauri::generate_handler![
force_panic,
find_game_install_location_caller,
- get_version_number,
+ get_flightcore_version_number,
get_northstar_version_number_caller,
check_is_northstar_outdated,
verify_install_location,
@@ -131,7 +131,7 @@ fn linux_checks() -> Result<(), String> {
#[tauri::command]
/// Returns the current version number as a string
-fn get_version_number() -> String {
+fn get_flightcore_version_number() -> String {
let version = env!("CARGO_PKG_VERSION");
if cfg!(debug_assertions) {
// Debugging enabled