Copy-paste Windows10 workaround fix

This commit is contained in:
Dmitry Isaenko 2020-05-10 20:10:11 +03:00
parent 9871510547
commit dd56ef95fe

View file

@ -87,7 +87,7 @@ class NxdtUsbAbi1 {
this.task = task; this.task = task;
this.logPrinter = logPrinter; this.logPrinter = logPrinter;
this.isWindows = System.getProperty("os.name").toLowerCase().contains("windows"); this.isWindows = System.getProperty("os.name").toLowerCase().contains("windows");
if (isWindows) if (isWindows)
isWindows10 = System.getProperty("os.name").toLowerCase().contains("windows 10"); isWindows10 = System.getProperty("os.name").toLowerCase().contains("windows 10");