aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/platform_specific
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/platform_specific')
-rw-r--r--src-tauri/src/platform_specific/linux.rs4
-rw-r--r--src-tauri/src/platform_specific/mod.rs1
-rw-r--r--src-tauri/src/platform_specific/windows.rs1
3 files changed, 2 insertions, 4 deletions
diff --git a/src-tauri/src/platform_specific/linux.rs b/src-tauri/src/platform_specific/linux.rs
index a6d37f22..eb9fbea6 100644
--- a/src-tauri/src/platform_specific/linux.rs
+++ b/src-tauri/src/platform_specific/linux.rs
@@ -1,14 +1,14 @@
// Linux specific code
-use std::process::Command;
use regex::Regex;
+use std::process::Command;
pub fn check_glibc_v() -> f32 {
let out = Command::new("/bin/ldd")
.arg("--version")
.output()
.expect("failed to run 'ldd --version'");
-
+
// parse the output down to just the first line
let lddva = String::from_utf8_lossy(&out.stdout);
let lddvl: Vec<&str> = lddva.split('\n').collect();
diff --git a/src-tauri/src/platform_specific/mod.rs b/src-tauri/src/platform_specific/mod.rs
index 21cac9c2..ef45107e 100644
--- a/src-tauri/src/platform_specific/mod.rs
+++ b/src-tauri/src/platform_specific/mod.rs
@@ -2,4 +2,3 @@
pub mod windows;
pub mod linux;
-
diff --git a/src-tauri/src/platform_specific/windows.rs b/src-tauri/src/platform_specific/windows.rs
index 7627fe4f..2803bf05 100644
--- a/src-tauri/src/platform_specific/windows.rs
+++ b/src-tauri/src/platform_specific/windows.rs
@@ -1,5 +1,4 @@
/// Windows specific code
-
use powershell_script::PsScriptBuilder;
use regex::Regex;