Extract html-data; consider x86_64 when loading Java lib; use B2 action

This commit is contained in:
Wilson Lin 2020-11-13 22:15:51 +11:00
commit 2954f8f7b0
9 changed files with 37 additions and 3480 deletions

View file

@ -25,7 +25,7 @@ public class MinifyHtml {
: osName.startsWith("mac")
? "macos"
: null;
String nativeLibNameArch = osArch.equals("amd64") ? "x86_64" : null;
String nativeLibNameArch = osArch.equals("amd64") || osArch.equals("x86_64") ? "x86_64" : null;
if (nativeLibNameOs == null || nativeLibNameArch == null) {
throw new RuntimeException(format("Platform not supported (os.name=%s, os.arch=%s)", osName, osArch));