Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

build(desktop): scope parakeet-rs to non-Intel macOS targets

Richie McIlroy0717e11e7921
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index 357ab4d70..301d01e5b 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -74,7 +74,6 @@ keyed_priority_queue = "0.4.2"
sentry.workspace = true
clipboard-rs = "0.2.2"
whisper-rs = "0.11.0"
-parakeet-rs = "0.3.4"
lazy_static = "1.4.0"
log = "0.4.20"
@@ -137,6 +136,9 @@ swift-rs = "1.0.6"
tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2" }
cidre = { workspace = true }
+[target.'cfg(not(all(target_os = "macos", target_arch = "x86_64")))'.dependencies]
+parakeet-rs = "0.3.4"
+
[target.'cfg(target_os= "windows")'.dependencies]
windows = { workspace = true, features = [
"Win32_Foundation",