Open norraxx opened 5 years ago
Fails on org.bridj.Platform.isWindows()
.
via @axel1200 import com.sun.jna.Platform;
has isWindows
method. So maybe we could change the method.
Fails now on:
if (com.sun.jna.Platform.isWindows()) {
FAF_DATA_DIRECTORY = Paths.get(Shell32Util.getFolderPath(ShlObj.CSIDL_COMMON_APPDATA), "FAForever");
}
Problem is system class loader: see more info on Java Native Access library pages: https://github.com/java-native-access/jna/issues/124 https://github.com/java-native-access/jna/issues/238 https://bugs.openjdk.java.net/browse/JDK-8017274
We wann display a pop up then and ask user to make a new windows account with ascii characters