Skip to content

Commit 450bacc

Browse files
authored
fix: ensure search paths are indexed (#896)
The file search extension relies on the OS's desktop search to work, and it is possible that the desktop search indexer may not index the search paths we specify. This commit adds a hook that signals to the indexer and lets it index the paths we need. This hook will be invoked when: * initialing the extension * enabling the extension * upon every configuration change to make our best effort to fix the issue.
1 parent bd0c9a7 commit 450bacc

File tree

15 files changed

+906
-53
lines changed

15 files changed

+906
-53
lines changed

.github/workflows/rust_code_check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
sudo apt-get update
3333
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils libtracker-sparql-3.0-dev
3434
35+
# On Windows, we need to generate bindings for 'searchapi.h' using bindgen.
36+
# And bindgen relies on 'libclang'
37+
# https://rust-lang.github.io/rust-bindgen/requirements.html#windows
38+
- name: Install dependencies (Windows only)
39+
if: startsWith(matrix.platform, 'windows-latest')
40+
shell: bash
41+
run: winget install LLVM.LLVM --silent --accept-package-agreements --accept-source-agreements
42+
3543
- name: Add pizza engine as a dependency
3644
working-directory: src-tauri
3745
shell: bash

docs/content.en/docs/release-notes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Information about release notes of Coco App is provided here.
3636
- fix: resolve deeplink login issue #881
3737
- fix: use kill_on_drop() to avoid zombie proc in error case #887
3838
- fix: settings window rendering/loading issue 889
39-
39+
- fix: ensure search paths are indexed #896
4040

4141
### ✈️ Improvements
4242

0 commit comments

Comments
 (0)