Closes #1684

This adds code to make sure the user is notified if he or she does not have chrome or firefox and needs to download one of them to run Lantern.

This goes a bit beyond the original ticket in that it adds a check for firefox and open Lantern in FireFox if it finds it. 

If you can have a look @oxtoacart that would be great!
No - just means we check for it now and use it before telling the user they
need to download and install chrome.

On Saturday, September 20, 2014, oxtoacart <notifications@github.com> wrote:

> In src/main/java/org/lantern/LanternUtils.java:
>
> > @@ -1209,4 +1210,28 @@ public static File osSpecificExecutable(final String fileName) {
> >          }
> >          return new File("./install/linux_x86_32", fileName);
> >      }
> > +
> > +    /**
> > +     * Checks if FireFox is the user's default browser on Windows. As of this
> > +     * writing, this is only tested on Windows 8.1 but should theoretically
> > +     * work on other Windows versions as well.
> > +     *
> > +     * @return <code>true</code> if Firefox is the user's default browser,
> > +     * otherwise <code>false</code>.
> > +     */
> > +    public static boolean firefoxIsDefaultBrowser() {
> > +        if (!SystemUtils.IS_OS_WINDOWS) {
> > +            return false;
>
> So this means that we only support Firefox on Windows?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/getlantern/lantern/pull/1828/files#r17821439>.
>


-- 
--
Adam
pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89