Skip to content

Commit

Permalink
Update Serial4JArduino.java
Browse files Browse the repository at this point in the history
  • Loading branch information
brice-morin committed May 12, 2015
1 parent 014ce61 commit 808fa54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class Serial4JArduino implements JArduinoClientObserver, JArduinoSubject
if (osName.equals("Win32")) {
NativeLibUtil.copyFile(Serial4JArduino.class.getClassLoader().getResourceAsStream("nativelib/Windows/win32/rxtxSerial.dll"), "rxtxSerial.dll");
}
if (osName.equals("Win64") || osName.equals("Windows 7")) {
if (osName.equals("Win64") || osName.equals("Windows 7") || osName.equals("Windows 8.1")) {
NativeLibUtil.copyFile(Serial4JArduino.class.getClassLoader().getResourceAsStream("nativelib/Windows/win64/rxtxSerial.dll"), "rxtxSerial.dll");
}
if (osName.equals("Linux") && osProc.equals("x86-64")) {
Expand Down Expand Up @@ -324,4 +324,4 @@ public static void main(String[] args) {
device.close();
}
}
}
}

0 comments on commit 808fa54

Please sign in to comment.