diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-03-02 23:58:08 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-03-02 23:58:08 +0100 |
commit | c800dd31355064be8d3de8a74326b1c2b974c78e (patch) | |
tree | c22d9c1a83fafe009f16483bc88a96bbdd49dba0 /src-tauri/src/lib.rs | |
parent | c60b7b606dd0b4bc7108f9a768a4545f0781730c (diff) | |
parent | 441b81ef0f46062713f618a57e0d297c8a7a70d3 (diff) | |
download | FlightCore-feat/basic-log-parsing.tar.gz FlightCore-feat/basic-log-parsing.zip |
Merge branch 'main' into feat/basic-log-parsingfeat/basic-log-parsing
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r-- | src-tauri/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 5688512c..27019361 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -9,6 +9,7 @@ mod platform_specific; #[cfg(target_os = "windows")] use platform_specific::windows; +#[cfg(target_os = "linux")] use platform_specific::linux; use serde::{Deserialize, Serialize}; @@ -67,7 +68,7 @@ pub fn check_mod_version_number(path_to_mod_folder: String) -> Result<String, an // I intend to add more linux related stuff to check here, so making a func // for now tho it only checks `ldd --version` // - salmon - +#[cfg(target_os = "linux")] pub fn linux_checks_librs() -> Result<(), String> { // Perform various checks in terms of Linux compatibility // Return early with error message if a check fails |