Skip to content

Commit

Permalink
Merge pull request #216 from mircokroon/bugfixes
Browse files Browse the repository at this point in the history
Authentication fix
  • Loading branch information
mircokroon authored Sep 23, 2021
2 parents ff94cf8 + 46ea5d5 commit b59c9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/proxy/auth/AuthDetailsFromProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private List<Long> findJavawProcessWindows() throws IOException {
List<Long> res = new ArrayList<>();
String line;
while ((line = input.readLine()) != null) {
if (line.startsWith("javaw.exe")) {
if (line.startsWith("javaw.exe") || line.startsWith("java.exe")) {
String[] parts = line.split(" +");
res.add(Long.valueOf(parts[1]));
}
Expand Down

0 comments on commit b59c9d0

Please sign in to comment.