add link to build docs in readme, move defaultBrowser iexplore defaults to correct part of function

Former-commit-id: 457302777b291ab2607c175535174b3219c9d468
Former-commit-id: b349d01e3b2c9dbd007db3e56b489d64613f1b8b
This commit is contained in:
idk
2022-11-11 18:58:48 -05:00
parent 2a70031e54
commit 951edeab92
2 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,10 @@ directory for Firefox, and the `src/i2p.chromium.*.profile/extensions/*.js/*` di
## Getting started
### Building the package:
- See: [BUILD.md](docs/BUILD.md)/[BUILD.html](docs/BUILD.html)
### Using a Binary
For platform specific instructions, see

View File

@ -99,9 +99,8 @@ public class I2PGenericUnsafeBrowser extends I2PCommonBrowser {
* @since 2.0.0
*/
static public String getDefaultWindowsBrowser() {
String defaultBrowser =
"C:\\Program Files\\Internet Explorer\\iexplore.exe";
String key = "";
String defaultBrowser;
String key;
// User-Configured HTTPS Browser
key =
"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\Shell\\Associations\\URLAssociations\\https\\UserChoice";
@ -126,6 +125,7 @@ public class I2PGenericUnsafeBrowser extends I2PCommonBrowser {
if (defaultBrowser != null) {
return defaultBrowser;
}
defaultBrowser = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
return defaultBrowser;
}