On Sat, Jan 31, 2009 at 6:20 PM, <[email protected]> wrote: > Author: Zero3 > Date: 2009-01-31 10:20:50 +0000 (Sat, 31 Jan 2009) > New Revision: 25444 > > Modified: > trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk > Log: > Added support for Opera to the launcher > > Modified: trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk > =================================================================== > --- trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk > 2009-01-31 10:13:22 UTC (rev 25443) > +++ trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk > 2009-01-31 10:20:50 UTC (rev 25444) > @@ -84,6 +84,22 @@ > } > > ; > +; Try browser: Opera (Tested versions: 9.6) > +; > +RegRead, _OperaInstallDir, HKEY_LOCAL_MACHINE, > Software\Microsoft\Windows\CurrentVersion\Uninstall\{1BC4026B-1957-4514-9058-2B542557F143}, > InstallLocation
using GUID certainly *won't* work on other versions, see http://my.opera.com/community/forums/topic.dml?id=38933 for another registry > + > +If (!ErrorLevel && _OperaInstallDir <> "") > +{ > + _OperaPath = %_OperaInstallDir%\opera.exe > + > + IfExist, %_OperaPath% > + { > + Run, %_OperaPath% "%_URL%", , UseErrorLevel > + ExitApp, 0 > + } > +} > + > +; > ; Try browser: Google Chrome (Tested versions: 1.0.154) (no direct registry > key to where it is installed, so we will have to do with what we get) > ; > RegRead, _ChromeInstallDir, HKEY_CURRENT_USER, > Software\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome, > InstallLocation > @@ -111,7 +127,7 @@ > ; > ; No usable browser found > ; > -PopupErrorMessage("Freenet Launcher was unable to find a supported > browser.`n`nPlease install one of the supported browsers, or > manually`nnavigate to the URL inside freenet.url.dat.`n`nFreenet Launcher > supports the following browsers:`n- Mozilla FireFox`n- Google Chrome`n- > Internet Explorer (not recommended)") > +PopupErrorMessage("Freenet Launcher was unable to find a supported > browser.`n`nPlease install one of the supported browsers, or > manually`nnavigate to the URL inside freenet.url.dat.`n`nFreenet Launcher > supports the following browsers:`n- Mozilla FireFox`n- Opera`n- Google > Chrome`n- Internet Explorer (not recommended)") > ExitApp, 1 > > ; > > _______________________________________________ > cvs mailing list > [email protected] > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs > _______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
