Compare commits

...

5 Commits
0.0.2 ... 0.0.4

Author SHA1 Message Date
idk
75fe20d84d bump version fix release 2022-08-07 22:16:36 -04:00
idk
b5c098bb9b Fill in the changelog 2022-08-07 22:14:45 -04:00
idk
2c5e75ac5c also search the Tor Browser path on Windows. 2022-08-07 22:10:04 -04:00
idk
f7a62f57cc bump version 2022-08-07 21:29:26 -04:00
idk
ab88dc722b constructor needs to be in public scope 2022-08-07 21:28:56 -04:00
5 changed files with 23 additions and 6 deletions

View File

@ -0,0 +1,15 @@
Sun, August 7
-------------
- Wrote the Javadoc
- Embedded the Firefox profile in the Jar so it always unpacks correctly
- re-added Tor Browser support on Windows
- Fix false positives in validation routine
- Make constructors public
Saturday, August 6
------------------
- Implemented firefox detection
- Implemented directory setup
- Implemented processBuilder generator

View File

@ -28,7 +28,7 @@
<delete dir="plugin/eepsite/docroot/torrents/" />
<!-- get version number -->
<buildnumber file="scripts/build.number" />
<property name="release.number" value="0.0.2" />
<property name="release.number" value="0.0.4" />
<!-- make the update xpi2p -->
<!-- this contains everything except i2ptunnel.config -->

View File

@ -4,7 +4,7 @@ GITHUB_USER=eyedeekay
GITHUB_REPO=i2p.plugins.firefox
GITHUB_NAME="Initial Release"
GITHUB_DESCRIPTION=$(cat README.md)
GITHUB_TAG=0.0.2
GITHUB_TAG=0.0.4
ant distclean
cd src && \
ant

View File

@ -16,7 +16,7 @@ public class I2PFirefox {
*
* @since 0.0.1
*/
I2PFirefox() {
public I2PFirefox() {
for (String path : FIREFOX_SEARCH_PATHS) {
File f = new File(path);
if (f.exists()) {
@ -54,7 +54,9 @@ public class I2PFirefox {
return exePath;
}
private static String[] FIND_FIREFOX_SEARCH_PATHS_WINDOWS() {
String[] path = new String[]{"C:/Program Files/Mozilla Firefox/", "C:/Program Files (x86)/Mozilla Firefox/", "C:/Program Files/Waterfox/", "C:/Program Files (x86)/Waterfox/", "C:/Program Files/Librewolf/"};
String userHome = System.getProperty("user.home");
String[] tbPath = new String[]{userHome + "/OneDrive/Desktop/Tor Browser/Browser/", userHome + "/Desktop/Tor Browser/Browser/"};
String[] path = new String[]{"C:/Program Files/Mozilla Firefox/", "C:/Program Files (x86)/Mozilla Firefox/", "C:/Program Files/Waterfox/", "C:/Program Files (x86)/Waterfox/", "C:/Program Files/Librewolf/", tbPath[0], tbPath[1]};
String[] exes = new String[]{"firefox.exe", "firefox-bin.exe", "firefox-esr.exe", "waterfox.exe", "waterfox-bin.exe", "librewolf.exe"};
String[] exePath = new String[path.length * exes.length];
int i = 0;

View File

@ -243,7 +243,7 @@ public class I2PFirefoxProfileBuilder {
*
* @since 0.0.1
*/
I2PFirefoxProfileBuilder() {
public I2PFirefoxProfileBuilder() {
I2PFirefoxProfileBuilder.strict = false;
}
@ -253,7 +253,7 @@ public class I2PFirefoxProfileBuilder {
*
* @since 0.0.1
*/
I2PFirefoxProfileBuilder(boolean strict) {
public I2PFirefoxProfileBuilder(boolean strict) {
I2PFirefoxProfileBuilder.strict = strict;
}
}