fix the firefox tests
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Tue Jul 11 13:46:29 EDT 2023
|
||||
#Tue Jul 11 14:18:18 EDT 2023
|
||||
=\=\=\=\=\=\=
|
||||
<<<<<<<=HEAD
|
||||
>>>>>>>=7cdf84bb265e7fda5b98d2386dab1855de8383eb
|
||||
build.number=523
|
||||
build.number=525
|
||||
|
@ -130,7 +130,6 @@ public class I2PFirefoxProfileChecker extends I2PCommonBrowser {
|
||||
private boolean undoHomepage(File fileToBeModified) {
|
||||
String oldStringToFind = "\"browser.startup.homepage\", true";
|
||||
String newStringToReplace = "\"browser.startup.homepage\", \"http://127.0.0.1:7657\"";
|
||||
|
||||
try (Scanner scanner = new Scanner(fileToBeModified)) {
|
||||
while (scanner.hasNextLine()) {
|
||||
String line = scanner.nextLine();
|
||||
@ -141,7 +140,6 @@ public class I2PFirefoxProfileChecker extends I2PCommonBrowser {
|
||||
} catch (FileNotFoundException e) {
|
||||
// handle this
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
ant distclean
|
||||
cd src && ant jar && cd ..
|
||||
ant jar
|
||||
|
||||
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile tor-browser_en-US
|
||||
|
||||
|
Reference in New Issue
Block a user