Fix windows builds
This commit is contained in:
parent
d58811e922
commit
248818b36f
@ -8,8 +8,8 @@
|
|||||||
<name>TDLight Java BOM</name>
|
<name>TDLight Java BOM</name>
|
||||||
<properties>
|
<properties>
|
||||||
<revision>3.0.0.0-SNAPSHOT</revision>
|
<revision>3.0.0.0-SNAPSHOT</revision>
|
||||||
<tdlight.natives.version>4.0.420</tdlight.natives.version>
|
<tdlight.natives.version>4.0.422</tdlight.natives.version>
|
||||||
<tdlight.api.version>4.0.390</tdlight.api.version>
|
<tdlight.api.version>4.0.392</tdlight.api.version>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -91,8 +91,8 @@ public final class Native {
|
|||||||
case "windows": {
|
case "windows": {
|
||||||
return Stream.of("windows_" + arch);
|
return Stream.of("windows_" + arch);
|
||||||
}
|
}
|
||||||
case "osx": {
|
case "macos": {
|
||||||
return Stream.of("osx_" + arch);
|
return Stream.of("macos_" + arch);
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
@ -156,10 +156,10 @@ public final class Native {
|
|||||||
return "windows";
|
return "windows";
|
||||||
}
|
}
|
||||||
if (os.contains("mac")) {
|
if (os.contains("mac")) {
|
||||||
return "osx";
|
return "macos";
|
||||||
}
|
}
|
||||||
if (os.contains("darwin")) {
|
if (os.contains("darwin")) {
|
||||||
return "osx";
|
return "macos";
|
||||||
}
|
}
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user