Skip to content
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

Fixed the error "arch: brew not found in PATH" while installing driver #662

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

Saij
Copy link
Contributor

@Saij Saij commented Nov 19, 2022

When running icestudio as an app on my Mac M1 (running Ventura) I always got the error arch: brew not found in PATH while installing the drivers. It was all running good when I started icestudio through npm run start - maybe because on my console the PATH is correctly set.

This fix does not depend on PATH environment variable but checks possible absolute paths to run brew from.

It also adds a little error handling while installing the drivers (for example if a command does not return a good error code).

@cavearr cavearr merged commit e76d876 into FPGAwars:develop Nov 19, 2022
@cavearr
Copy link
Member

cavearr commented Nov 19, 2022

Thanks @Saij !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants