Skip to content

Commit

Permalink
Fix Firefox 79+ restart warning
Browse files Browse the repository at this point in the history
Closes qzind#701
  • Loading branch information
tresf committed Aug 31, 2020
1 parent 2e6bd5f commit 50cd7a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qz/installer/certificate/firefox/locator/AppLocator.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public ArrayList<String> getPids(String ... processNames) {
public ArrayList<String> getPids(ArrayList<String> processNames) {
String[] response;
ArrayList<String> pidList = new ArrayList<>();
// Find incorrect process name Firefox 79+ per https://github.com/qzind/tray/issues/701
if(processNames.contains("firefox") && !(SystemUtilities.isWindows() || SystemUtilities.isMac())) {
processNames.add("MainThread");
}

if (processNames.size() == 0) return pidList;

Expand Down

0 comments on commit 50cd7a5

Please sign in to comment.