EhPanda-Team / EhPanda

An unofficial E-Hentai App for iOS built with SwiftUI & TCA.
https://ehpanda.app
MIT License
3.13k stars 208 forks source link

[Question] homebrew location #244

Closed superarts closed 2 years ago

superarts commented 2 years ago

I noticed that in run script phase, homebrew location is not very flexible:

if test -d "/opt/homebrew/bin/"; then
  PATH="/opt/homebrew/bin/:${PATH}"
fi

From homebrew:

This script installs Homebrew to its preferred prefix (/usr/local for macOS Intel, /opt/homebrew for Apple Silicon and /home/linuxbrew/.linuxbrew for Linux)...

Since Intel mac is still a thing, would it be better to export both paths please?

tatsuz0u commented 2 years ago

I think an Intel Mac doesn't need to export the path. It just works. 🤔

superarts commented 2 years ago

Weird, it didn't work me, I manually updated it to get it to work. Anyway we can close this issue and if someone else reports it, hopefully he can get here using search.

Anyway thanks for the great work! I jerked off 3 times today due to the awesomeness of this project.