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