Added osx support
This commit is contained in:
parent
076236f7e2
commit
ca519eefca
9
pom.xml
9
pom.xml
@ -52,12 +52,17 @@
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-natives-linux-aarch64</artifactId>
|
||||
<version>1.1.7</version>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-natives-windows-amd64</artifactId>
|
||||
<version>1.1.10</version>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-natives-osx-amd64</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
@ -111,6 +111,11 @@ public class LoadLibrary {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user