mirror of https://github.com/rusefi/rusefi-1.git
console hex file scanner should not accept files with spaces in names fix #3836
This commit is contained in:
parent
4e639480ff
commit
c08f9d2e14
|
@ -83,6 +83,8 @@ public class IniFileModel {
|
|||
return null;
|
||||
log.info("Searching for " + prefix + "*" + suffix + " in " + fileDirectory);
|
||||
for (String file : dir.list()) {
|
||||
if (file.contains(' '))
|
||||
continue; // spaces not acceptable
|
||||
if (file.startsWith(prefix) && file.endsWith(suffix))
|
||||
return fileDirectory + File.separator + file;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.net.URL;
|
|||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20220122;
|
||||
public static final int CONSOLE_VERSION = 20220124;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
|
|
Loading…
Reference in New Issue