Skip to content

Commit

Permalink
fix: cli
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Jul 23, 2024
1 parent 11b055b commit ff832c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,10 @@ jobs:

- name: Install dependencies
run: |
brew install ffmpeg
- name: Set up cross-compilation environment
run: |
if [ "${{ matrix.target }}" = "aarch64-apple-darwin" ]; then
echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV
fi
brew install ffmpeg pkg-config
- name: Build with Metal feature
run: |
export PKG_CONFIG_ALLOW_CROSS=1
cargo build --release --features metal --target ${{ matrix.target }}
- name: Create deployment package
Expand Down
16 changes: 8 additions & 8 deletions examples/apps/screenpipe-app-tauri/src-tauri/entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- <key>com.apple.security.device.audio-input</key>
<true/> -->
<!-- <key>com.apple.security.temporary-exception.audio-unit-host</key>
<true/> -->
<!-- <key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.temporary-exception.audio-unit-host</key>
<true/>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>com.apple.audio.coreaudiod</string>
<string>com.apple.audio.audiohald</string>
</array> -->
<!-- <key>com.apple.security.device.camera</key>
</array>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.microphone</key>
<true/>
Expand All @@ -22,7 +22,7 @@
<key>com.apple.developer.persistent-content-capture</key>
<true/>
<key>com.apple.developer.sustained-execution</key>
<true/> -->
<true/>
<!-- <key>com.apple.security.temporary-exception.sbpl</key>
<string>(allow mach-lookup (global-name-regex #"^com.apple.coreservices.launchservicesd$"))</string>
Expand Down

0 comments on commit ff832c7

Please sign in to comment.