aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 9856394d..2ea9571b 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -1,8 +1,12 @@
use std::env;
use anyhow::{anyhow, Context, Result};
+
+#[cfg(target_os = "windows")]
use powershell_script::PsScriptBuilder;
+#[cfg(target_os = "windows")]
use regex::Regex;
+
use serde::{Deserialize, Serialize};
use sysinfo::SystemExt;
use zip::ZipArchive;