mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-27 07:34:59 +01:00
Added al_solaris parameter to LWJGL's Appletloader. LWJGL Applets should be ready to go on Solaris as soon as binaries are.
This commit is contained in:
parent
26147830c3
commit
0deaed34a5
|
|
@ -83,6 +83,7 @@ import java.util.jar.Pack200;
|
|||
* <li>al_windows - [String] Jar containing native files for windows.</li>
|
||||
* <li>al_linux - [String] Jar containing native files for linux.</li>
|
||||
* <li>al_mac - [String] Jar containing native files for mac.</li>
|
||||
* <li>al_solaris - [String] Jar containing native files for solaris.</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
* <p>
|
||||
|
|
@ -498,10 +499,12 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
|
||||
if (osName.startsWith("Win")) {
|
||||
nativeJar = getParameter("al_windows");
|
||||
} else if (osName.startsWith("Linux") || osName.startsWith("FreeBSD") || osName.startsWith("SunOS")) {
|
||||
} else if (osName.startsWith("Linux") || osName.startsWith("FreeBSD")) {
|
||||
nativeJar = getParameter("al_linux");
|
||||
} else if (osName.startsWith("Mac")) {
|
||||
nativeJar = getParameter("al_mac");
|
||||
} else if (osName.startsWith("Solaris") || osName.startsWith("SunOS")) {
|
||||
nativeJar = getParameter("al_solaris");
|
||||
} else {
|
||||
fatalErrorOccured("OS (" + osName + ") not supported");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue