Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

use patched screencapturekit

Brendan Allane54c0c49f34e
diff --git a/Cargo.lock b/Cargo.lock
index 49467c0f7..6ba26026e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6445,8 +6445,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screencapturekit"
version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd797e2f07759d67fc00c3085c55dae07c37e73dba29dc1159484cbb2946bd6f"
+source = "git+https://github.com/CapSoftware/screencapturekit-rs?rev=7ff1e103742e56c8f6c2e940b5e52684ed0bed69#7ff1e103742e56c8f6c2e940b5e52684ed0bed69"
dependencies = [
"block2 0.6.0",
"core-foundation 0.10.0",
diff --git a/Cargo.toml b/Cargo.toml
index 7efca6cb8..a43b204ab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,3 +46,6 @@ cidre = { git = "https://github.com/yury/cidre", rev = "ef04aaabe14ffbbce4a33097
windows = "0.58.0"
windows-sys = "0.59.0"
windows-capture = "1.4.2"
+
+[patch.crates-io]
+screencapturekit = { git = "https://github.com/CapSoftware/screencapturekit-rs", rev = "7ff1e103742e56c8f6c2e940b5e52684ed0bed69" }