disable systray in test.sh

Former-commit-id: c2f63fd47f
Former-commit-id: 68cc5777e88cd9c48925ce4e06bf81cf1ebf65cf
This commit is contained in:
idk
2022-10-23 19:50:27 -04:00
parent 7f690f20d3
commit 87823cee5a
7 changed files with 125 additions and 126 deletions

View File

@ -107,8 +107,8 @@ public class I2PChromium extends I2PCommonBrowser {
if (chromiumPathsProp != null)
if (!chromiumPathsProp.equals(""))
return chromiumPathsProp.split(",");
return new String[] {"ungoogled-chromium", "chromium", "brave", "edge",
"msedge", "chrome"};
return new String[] {
"ungoogled-chromium", "chromium", "brave", "edge", "msedge", "chrome"};
}
private static String[] FIND_CHROMIUM_SEARCH_PATHS_UNIX() {
@ -186,9 +186,12 @@ public class I2PChromium extends I2PCommonBrowser {
if (chromiumPathsProp != null)
if (!chromiumPathsProp.equals(""))
return chromiumPathsProp.split(",");
return new String[] {
"ungoogled-chromium.exe", "chromium.exe", "brave.exe", "edge.exe",
"msedge.exe", "chrome.exe"};
return new String[] {"ungoogled-chromium.exe",
"chromium.exe",
"brave.exe",
"edge.exe",
"msedge.exe",
"chrome.exe"};
}
private static String[] FIND_CHROMIUM_SEARCH_PATHS_WINDOWS() {
String[] path = chromiumPathsWindows();
@ -777,12 +780,4 @@ public class I2PChromium extends I2PCommonBrowser {
i2pChromium.launch(privateBrowsing,
visitURL.toArray(new String[visitURL.size()]));
}
private static void sleep(int millis) {
try {
Thread.sleep(millis);
} catch (InterruptedException bad) {
bad.printStackTrace();
throw new RuntimeException(bad);
}
}
}