Add Linux version of run_jar

This might not work on macOS
This commit is contained in:
fnrir
2023-08-18 13:43:43 +02:00
parent 699eb2838e
commit b179ccc1f0
3 changed files with 66 additions and 15 deletions

View File

@@ -22,6 +22,9 @@ registry = "1.2.1"
[target.'cfg(unix)'.dependencies]
sudo = "0.6.0"
[target.'cfg(target_os = "linux")'.dependencies]
term-detect = "0.1.7"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.0.9", features = ["api-all"] }