Update pom.xml and LoadLibrary.java
This commit is contained in:
parent
6f978de63e
commit
d016890d2a
4
pom.xml
4
pom.xml
@ -51,13 +51,11 @@
|
||||
<artifactId>tdlight-natives-linux-aarch64</artifactId>
|
||||
<version>2.0.2</version>
|
||||
</dependency>
|
||||
<!-- Currently unsupported platform
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-natives-windows-amd64</artifactId>
|
||||
<version>2.0.1-SNAPSHOT</version>
|
||||
<version>2.0.2</version>
|
||||
</dependency>
|
||||
-->
|
||||
<!-- Currently unsupported platform
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
|
@ -111,19 +111,19 @@ public class LoadLibrary {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
// Unsupported platforms:
|
||||
// Unsupported platform:
|
||||
/*
|
||||
case osx:
|
||||
if (arch == Arch.amd64) {
|
||||
classForResource = it.tdlight.tdlight.osx.amd64.LoadLibrary.class;
|
||||
}
|
||||
break;
|
||||
*/
|
||||
case win:
|
||||
if (arch == Arch.amd64) {
|
||||
classForResource = it.tdlight.tdlight.win.amd64.LoadLibrary.class;
|
||||
}
|
||||
break;
|
||||
*/
|
||||
}
|
||||
if (classForResource == null) {
|
||||
throw new IOException("Native libraries for platform " + os + "-" + arch + " not found!");
|
||||
|
Loading…
Reference in New Issue
Block a user