diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java index a54d46d1a..f742c55f9 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java @@ -212,7 +212,8 @@ public class DefaultLauncher extends Launcher { configuration.put("${game_assets}", gameAssets.toAbsolutePath().toString()); configuration.put("${assets_root}", gameAssets.toAbsolutePath().toString()); - + // lwjgl assumes path to native libraries encoded by ASCII. + // Here is a workaround for this issue: https://github.com/huanghongxun/HMCL/issues/1141. String nativeFolderPath = nativeFolder.getAbsolutePath(); Path tempNativeFolder = null; if (OperatingSystem.CURRENT_OS == OperatingSystem.LINUX