Skip to content

Commit

Permalink
ci: use correct openssl location (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz authored Oct 3, 2024
1 parent 0904215 commit 19b4ba7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ jobs:
install_name_tool -id @executable_path/../Frameworks/libssl.3.dylib chatterino.app/Contents/Frameworks/libssl.3.dylib
install_name_tool -id @executable_path/../Frameworks/libcrypto.3.dylib chatterino.app/Contents/Frameworks/libcrypto.3.dylib
otool -L chatterino.app/Contents/Frameworks/libssl.3.dylib
# Fix the search path for libcrypto in libssl
otool -L chatterino.app/Contents/Frameworks/libssl.3.dylib \
| grep libcrypto.3.dylib \
Expand All @@ -340,6 +341,18 @@ jobs:
@executable_path/../Frameworks/libcrypto.3.dylib \
chatterino.app/Contents/Frameworks/libssl.3.dylib; \
done
# Fix the search path for lib{crypto,ssl} in chatterino
otool -L chatterino.app/Contents/MacOS/chatterino \
| grep /opt \
| cut -d" " -f1 \
| cut -f2 \
| while read og_entry; do \
echo $og_entry; \
install_name_tool -change \
"$og_entry" \
@executable_path/../Frameworks/$(echo $og_entry | sed -E 's/.*(libssl|libcrypto)/\1/') \
chatterino.app/Contents/MacOS/chatterino; \
done
./../.CI/CreateDMG.sh
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.c7.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- Dev(macOS): Changed CFBundleIdentifier from `com.chatterino` to `app.7tv.chatterino7` (fec0dbdf558b1e6e358971a256f5540d34bb6a8d)
- Dev: Updated Conan version used in CI to 2.4 (330d05d50ffd296b34744dbcc97290534e8cf704)
- Dev(Windows): Updated `libavif` to 1.0.4, `boost` to 1.85, and `openssl` to 3.2.2 (330d05d50ffd296b34744dbcc97290534e8cf704)
- Dev(macOS): A single universal app is now released for macOS (#274)
- Dev(macOS): A single universal app is now released for macOS (#274, #279)
- Dev: Refactored paints to avoid creation of intermediate widgets (#277)

0 comments on commit 19b4ba7

Please sign in to comment.