aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/src/lib.rs2
-rw-r--r--src-tauri/src/platform_specific/windows.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index ed438ab9..d0bc9be2 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -63,7 +63,7 @@ pub fn find_game_install_location() -> Result<GameInstall, anyhow::Error> {
// (On Windows only) try parsing Windows registry for Origin install path
#[cfg(target_os = "windows")]
- match windows::windows_origin_install_location_detection() {
+ match windows::origin_install_location_detection() {
Ok(game_path) => {
let game_install = GameInstall {
game_path: game_path,
diff --git a/src-tauri/src/platform_specific/windows.rs b/src-tauri/src/platform_specific/windows.rs
index b7641888..7627fe4f 100644
--- a/src-tauri/src/platform_specific/windows.rs
+++ b/src-tauri/src/platform_specific/windows.rs
@@ -8,7 +8,7 @@ use anyhow::{anyhow, Result};
use crate::check_is_valid_game_path;
/// Runs a powershell command and parses output to get Titanfall2 install location on Origin
-pub fn windows_origin_install_location_detection() -> Result<String, anyhow::Error> {
+pub fn origin_install_location_detection() -> Result<String, anyhow::Error> {
dbg!();
// Run PowerShell command to get Titanfall2 Origin install path