diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aecc10f45c2..ddbcabb8d6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ @@ -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 diff --git a/CHANGELOG.c7.md b/CHANGELOG.c7.md index 9b9a2eb7285..29aa0475cdc 100644 --- a/CHANGELOG.c7.md +++ b/CHANGELOG.c7.md @@ -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)