-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: implement cap deep links and raycast extension #1564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
d3vv3r
wants to merge
6
commits into
CapSoftware:main
Choose a base branch
from
d3vv3r:feat/deep-links
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
bff7d37
feat: implement cap deep links and raycast extension
d3vv3r e7bd7f5
fix: resolve heap corruption and COM conflict in YUV conversion
d3vv3r d2979fb
fix: address maintainer feedback (COM init tracking, host_str parsing…
d3vv3r 22e7bb8
Fix recording save instability and Windows GPU/YUV converter crashes
d3vv3r c866267
fix: address PR feedback (remove duplicate arg, ignore local artifacts)
d3vv3r 2b9400b
style: fix unused variables in raycast extension
d3vv3r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| $ExePath = Join-Path $PSScriptRoot "../../target/debug/cap-desktop.exe" | ||
| $Protocol = "cap" | ||
|
|
||
| if (-not (Test-Path $ExePath)) { | ||
| Write-Host "Error: cap-desktop.exe not found at $ExePath" -ForegroundColor Red | ||
| exit | ||
| } | ||
|
|
||
| Write-Host "Registering $($Protocol):// protocol to: $ExePath" | ||
|
|
||
| # HKEY_CLASSES_ROOT | ||
| $RegPath = "HKCU:\Software\Classes\$Protocol" | ||
| if (-not (Test-Path $RegPath)) { New-Item -Path $RegPath -Force } | ||
| New-ItemProperty -Path $RegPath -Name "URL Protocol" -Value "" -PropertyType String -Force | ||
|
|
||
| $ShellPath = "$RegPath\shell\open\command" | ||
| if (-not (Test-Path $ShellPath)) { New-Item -Path $ShellPath -Force } | ||
| Set-Item -Path $ShellPath -Value "`"$ExePath`" `"%1`"" | ||
|
|
||
| Write-Host "✅ Protocol $($Protocol):// registered successfully!" -ForegroundColor Green | ||
| Write-Host "You can now test it by running: start $($Protocol)://record" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #!/bin/bash | ||
| echo "Configuring Cap Desktop Build Environment..." | ||
|
|
||
| # 1. Disable VCPKG to prevent conflicts | ||
| unset VCPKG_ROOT | ||
| echo " - Unset VCPKG_ROOT" | ||
|
|
||
| # 2. Add CMake to PATH (VS Build Tools) | ||
| export PATH="/c/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin:$PATH" | ||
|
|
||
| # 3. Configure FFmpeg 6.1 | ||
| export FFMPEG_DIR="C:/Tools/ffmpeg-6.1-shared" | ||
| export PATH="$FFMPEG_DIR/bin:$PATH" | ||
| export BINDGEN_EXTRA_CLANG_ARGS="-I$FFMPEG_DIR/include" | ||
| echo " - Configured FFmpeg 6.1 at $FFMPEG_DIR" | ||
|
|
||
| # 4. Configure Clang | ||
| export LIBCLANG_PATH="C:/Program Files/LLVM/bin" | ||
| echo " - Configured Clang at $LIBCLANG_PATH" | ||
|
|
||
| # 5. Ensure DLLs are present in target (Fixes STATUS_DLL_NOT_FOUND) | ||
| TARGET_DIR="../../../target/debug" | ||
| if [ -d "$TARGET_DIR" ]; then | ||
| echo " - Copying FFmpeg DLLs to target/debug..." | ||
| cp "$FFMPEG_DIR/bin/"*.dll "$TARGET_DIR/" 2>/dev/null || true | ||
| fi | ||
|
|
||
| echo "✅ Environment Ready! You can now run 'pnpm tauri dev'." | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.