Skip to content

Commit

Permalink
osx: update jre to 11.0.7+10
Browse files Browse the repository at this point in the history
To fix an issue with minimizing the client (#81).
  • Loading branch information
alexanderhenne authored and Adam- committed Apr 19, 2020
1 parent 8980791 commit 38fb05a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -e

JDK_VER="11.0.4"
JDK_BUILD="11"
JDK_VER="11.0.7"
JDK_BUILD="10"
PACKR_VERSION="runelite-1.0"

SIGNING_IDENTITY="Developer ID Application"
Expand All @@ -15,14 +15,14 @@ if ! [ -f OpenJDK11U-jre_x64_mac_hotspot_${JDK_VER}_${JDK_BUILD}.tar.gz ] ; then
https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-${JDK_VER}%2B${JDK_BUILD}/OpenJDK11U-jre_x64_mac_hotspot_${JDK_VER}_${JDK_BUILD}.tar.gz
fi

echo "1647fded28d25e562811f7bce2092eb9c21d30608843b04250c023b40604ff26 OpenJDK11U-jre_x64_mac_hotspot_${JDK_VER}_${JDK_BUILD}.tar.gz" | shasum -c
echo "931a81f4bed38c48b364db57d4ebdd6e4b4ea1466e9bd0eaf8e0f1e47c4569e9 OpenJDK11U-jre_x64_mac_hotspot_${JDK_VER}_${JDK_BUILD}.tar.gz" | shasum -c

# packr requires a "jdk" and pulls the jre from it - so we have to place it inside
# the jdk folder at jre/
if ! [ -d osx-jdk ] ; then
tar zxf OpenJDK11U-jre_x64_mac_hotspot_${JDK_VER}_${JDK_BUILD}.tar.gz
mkdir osx-jdk
mv jdk-11.0.4+11-jre osx-jdk/jre
mv jdk-${JDK_VER}+${JDK_BUILD}-jre osx-jdk/jre

# Move JRE out of Contents/Home/
pushd osx-jdk/jre
Expand Down
8 changes: 8 additions & 0 deletions osx/signing.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@
<dict>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
</dict>
</plist>

0 comments on commit 38fb05a

Please sign in to comment.