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.
This commit implements the file search extension for Linux with the
GNOME desktop environment by employing the engine that powers GNOME's
desktop search - Tracker.
It also fixes an edge case bug that the search and exclude path
configuration entries will not work. For example, say I set the search path
to ["~/Dcouments"], and I have a file named "Documents_foobarbuzz" under
my home directory, this file is not in the specified search path but
Coco would return it because we verified this by checking string prefix.
Claude Code found this when I asked it to write unit tests. Thank both
tests and Claude Code.
* fix: windows platform run with shell
* chore: add rust target
* fix: fix app version and release body
* chore: update step id
---------
Co-authored-by: hardy <luohf@infinilabs.com>
* chore: support for github action releases (#165)
* chore: support for generating update files (#168)
* chore: support for github action releases
* chore: support for generating update files
* chore: include TAURI_SIGNING_PRIVATE_KEY_PASSWORD variable in the release
* chore: replacing the pubkey when updating