Closed Nerixyz closed 2 weeks ago
Looks like the arm64 part of the binary links to the absolute homebrew paths, while x86 correctly uses the framework folder relative to the execution path. Not exactly sure what causes that to happen though:
@LosFarmosCTL could you try the universal build from this PR? https://github.com/SevenTV/chatterino7/actions/runs/11166845955?pr=279
Yup, it works again using the substitution.
Still no idea why it's not getting set correctly in the first place, I tried poking around locally the last two hours but couldn't find any fix. The macdeployqt call in .CI/MacDeploy.sh doesn't rewrite the paths correctly, but why it's only an issue for specifically libssl in the arm64 part is beyond me, since everything else does get set correctly. Looks like changing the install name afterwards is the best fix for the moment.
Thank you! As far as I know, pajlada only used the fixes I had before this PR (for rewriting libssl's search paths), not sure why more adjustments are required now. I'm hoping Chatterino2 can use this in the future as well (would make the release process a bit more "open").
Fixes #278.