diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c0bdd5..b0a1ce2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,7 +162,9 @@ jobs: cargo bundle --release --target=${{ matrix.target }} --format osx install_name_tool -change /opt/homebrew/opt/freetype/lib/libfreetype.6.dylib \ @executable_path/../Frameworks/libfreetype.6.dylib target/${{ matrix.target }}/release/bundle/osx/Gopher64.app/Contents/MacOS/gopher64 - codesign -f --entitlements data/entitlements.plist --timestamp --options runtime -s - target/${{ matrix.target }}/release/bundle/osx/Gopher64.app + install_name_tool -change /opt/homebrew/opt/libpng/lib/libpng16.16.dylib \ + @executable_path/../Frameworks/libpng16.16.dylib target/${{ matrix.target }}/release/bundle/osx/Gopher64.app/Contents/Frameworks/libfreetype.6.dylib + codesign -f --entitlements data/entitlements.plist --deep --timestamp --options runtime -s - target/${{ matrix.target }}/release/bundle/osx/Gopher64.app env: NETPLAY_ID: ${{ secrets.NETPLAY_ID }} MACOSX_DEPLOYMENT_TARGET: "26.0" diff --git a/Cargo.toml b/Cargo.toml index 38a275e..8c29775 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,4 +58,4 @@ name = "Gopher64" identifier = "io.github.gopher64.gopher64" category = "public.app-category.games" icon = ["data/icon/gopher64_128x128.png","data/icon/gopher64_256x256.png","data/icon/gopher64_512x512.png"] -osx_frameworks = ["/opt/homebrew/opt/molten-vk/lib/libMoltenVK.dylib","/opt/homebrew/opt/freetype/lib/libfreetype.6.dylib"] +osx_frameworks = ["/opt/homebrew/opt/molten-vk/lib/libMoltenVK.dylib","/opt/homebrew/opt/freetype/lib/libfreetype.6.dylib","/opt/homebrew/opt/libpng/lib/libpng16.16.dylib"]