Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

revert(desktop): drop the vendored opener plugin

Richie McIlroye06f285fde15
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0f432e406..dd28b8a80 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,7 +51,6 @@ jobs:
- 'scripts/run-gpui-build*'
- 'scripts/sync-desktop-versions.mjs'
- 'scripts/verify-gpui-release-inputs.mjs'
- - 'vendor/tauri-plugin-opener/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'bun.lock'
@@ -64,7 +63,6 @@ jobs:
- 'apps/desktop-gpui/**'
- 'crates/**'
- 'apps/desktop/src-tauri/**'
- - 'vendor/tauri-plugin-opener/**'
- 'Cargo.toml'
- 'Cargo.lock'
tauri-plugins:
@@ -225,7 +223,7 @@ jobs:
- name: Test desktop installation and storage helpers
shell: bash
- run: cargo test --locked -p cap-utils -p cap-cli-install -p tauri-plugin-opener --lib
+ run: cargo test --locked -p cap-utils -p cap-cli-install --lib
- name: Build desktop binaries
shell: bash
@@ -321,7 +319,7 @@ jobs:
run: |
node --test scripts/linux-bundle-config.test.mjs scripts/finalize-linux-appimage.test.mjs
bun run --cwd apps/desktop vitest run scripts/prepare.test.js
- cargo test --locked -p cap-utils -p cap-cli-install -p tauri-plugin-opener --lib
+ cargo test --locked -p cap-utils -p cap-cli-install --lib
cargo test --locked -p cap --bin cap record::tests
cargo test --locked -p cap-recording --lib -- --test-threads=1
cargo test --locked -p cap-enc-ffmpeg
diff --git a/Cargo.lock b/Cargo.lock
index 90c88f498..ffb628ea4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10802,6 +10802,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-opener"
version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "786156aa8e89e03d271fbd3fe642207da8e65f3c961baa9e2930f332bf80a1f5"
dependencies = [
"dunce",
"glob",
@@ -10813,9 +10815,7 @@ dependencies = [
"serde_json",
"tauri",
"tauri-plugin",
- "tempfile",
"thiserror 2.0.16",
- "tokio",
"url",
"windows 0.61.3",
"zbus",
diff --git a/Cargo.toml b/Cargo.toml
index 2749ec836..8a9be0ffb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,6 @@ members = [
"apps/desktop/src-tauri",
"crates/*",
"crates/workspace-hack",
- "vendor/tauri-plugin-opener",
]
[workspace.dependencies]
@@ -133,7 +132,6 @@ cidre = { git = "https://github.com/CapSoftware/cidre", rev = "bf84b67079a8" }
# wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "cd41a6e32a6239b65d1cecbeccde6a43a100914a" }
wgpu-hal = { path = "vendor/wgpu-hal" }
tao = { path = "vendor/tao" }
-tauri-plugin-opener = { path = "vendor/tauri-plugin-opener" }
# https://github.com/CapSoftware/reqwest/commit/9b5ecbd5210a9510fde766015cabb724c1e70d2e
reqwest = { git = "https://github.com/CapSoftware/reqwest", rev = "9b5ecbd5210a9510fde766015cabb724c1e70d2e" }