Skip to content

Commit 248818b

Browse files
committed
Fix windows builds
1 parent d58811e commit 248818b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

bom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<name>TDLight Java BOM</name>
99
<properties>
1010
<revision>3.0.0.0-SNAPSHOT</revision>
11-
<tdlight.natives.version>4.0.420</tdlight.natives.version>
12-
<tdlight.api.version>4.0.390</tdlight.api.version>
11+
<tdlight.natives.version>4.0.422</tdlight.natives.version>
12+
<tdlight.api.version>4.0.392</tdlight.api.version>
1313
<maven.compiler.source>1.8</maven.compiler.source>
1414
<maven.compiler.target>1.8</maven.compiler.target>
1515
</properties>

tdlight-java/src/main/java/it/tdlight/util/Native.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ private static Stream<String> getNormalizedArchitectures(String os, String arch)
9191
case "windows": {
9292
return Stream.of("windows_" + arch);
9393
}
94-
case "osx": {
95-
return Stream.of("osx_" + arch);
94+
case "macos": {
95+
return Stream.of("macos_" + arch);
9696
}
9797
default: {
9898
throw new UnsupportedOperationException();
@@ -156,10 +156,10 @@ public static String getOs() {
156156
return "windows";
157157
}
158158
if (os.contains("mac")) {
159-
return "osx";
159+
return "macos";
160160
}
161161
if (os.contains("darwin")) {
162-
return "osx";
162+
return "macos";
163163
}
164164
return "unknown";
165165
}

0 commit comments

Comments
 (0)