| Author | DaveJarvis <email> |
|---|---|
| Date | 2023-08-21 18:15:46 GMT-0700 |
| Commit | 615af212d2670f394c064687042415854d47a99f |
| Parent | 139ceea |
| Delta | 9 lines added, 2 lines removed, 7-line increase |
| for( final var dir : dirs ) { | ||
| - final var p = Path.of( dir ).resolve( exe ); | ||
| + Path p; | ||
| + | ||
| + try { | ||
| + p = Path.of( dir ).resolve( exe ); | ||
| + } catch( final Exception ex ) { | ||
| + clue( ex ); | ||
| + continue; | ||
| + } | ||
| for( final var extension : EXTENSIONS ) { |
| private static final Pattern VAR_PATTERN = compile( VAR_REGEX ); | ||
| - private static final String REG_REGEX = "\\s*path\\s+REG_EXPAND_SZ\\s+(.*)"; | ||
| + private static final String REG_REGEX = "\\s*path\\s+REG_.*SZ\\s+(.*)"; | ||
| private static final Pattern REG_PATTERN = compile( REG_REGEX ); | ||