I've found that Firefox's registry key goes in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox on Windows 10. (It's also there in Windows 7, but Windows 7 also has it elsewhere.) Does this work? https://downloads.freenetproject.org/FreenetTray-1a1e3ca.exe On Tue, Mar 24, 2015, 10:58 PM Steve Dougherty <st...@asksteved.com> wrote:
> On 03/23/2015 01:19 AM, Crypto Nation wrote: > > I tried the new tray icon in Windows 7 x64, Windows 8.1 x64, and the > > Windows 10 x64 Technical Preview build 9926. Tested: Open Freenet, Start > > Freenet, Stop Freenet, View log file, Preferences, Hide icon and Exit. > > Everything worked. > > Thank you for testing! > > > My only complaint is that Open Freenet launched IE instead of FF, which > was > > set as the default. The Preferences > Browser dropdown choices are Auto > and > > Internet Explorer with no information on how to add other options. > > Ah, dang. Detecting applications on Windows is hard. Is there a better > way than checking the registry? It sounds like the registry key for your > installation isn't one that's checked. Do you know where yours is > listed? You can find the Firefox detection code here: [0] > > Others have suggested a custom browser entry which I was resistant to > because it seemed unnecessary but it's looking like it might be > worthwhile after all. > > > Should there be a one time prompt when clicking Hide icon that informs > the > > user that Freenet is still running in the background, and explains how to > > restore the icon or start/stop Freenet? > > Hm, maybe. There's already a -welcome switch used by the installer which > gives an intro; I hadn't thought of one on first usage of hiding the > icon. I'm not sure how displaying a tooltip will work without a tray > icon visible though. Might be tricky to get something that makes sense > there. > > Thanks, > Steve > > [0] > > https://github.com/freenet/wininstaller-innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs > [1] > > https://github.com/freenet/wininstaller-innosetup/blob/csharp/FreenetTray/CommandsMenu.cs#L291 > > _______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl