Skip to content

[Bug]: ripgrep inaccessible in macOS builds #1405

Description

@CyanVoxel

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha v9.6.0

Operating System & Version

macOS 15.7.7

Description

In macOS builds, ripgrep is inaccessible due to GUI applications on macOS not having access to the system's PATH environment variable. This is the same issue we faced with FFmpeg until manually building a solution for it. I was already going to build in a parallel check system for ripgrep and other optional modules going forward, but in the meantime the addition of the ripgrep check in the UI added in #1398 has helped illuminate this silent issue.
Image

Expected Behavior

macOS builds of TagStudio should be able to access any necessary library or module in the builds as it can when run from the terminal, including ripgrep.

Steps to Reproduce

  1. Download the macOS build form the v9.6.0 release or build one yourself
  2. Install ripgrep, probably through homebrew
  3. Launch TagStudio via the desktop environment (double-click on the icon), go to "About TagStudio" in the menu and see the missing ripgrep warning
  4. For comparison, launch TagStudio from the terminal (built version or developer environment) and see how ripgrep is found

Logs

N/A

Metadata

Metadata

Assignees

Labels

Priority: MediumAn issue that shouldn't be be saved for lastSystem: macOSFor the macOS operating systemType: BugSomething isn't working as intendedType: InstallationInstalling, building, and/or launching the program

Type

Fields

No fields configured for Bug.

Projects

Status
🚧 In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions