On Wednesday 17 December 2008 00:02, Zero3 wrote:
> Matthew Toseland skrev:
> > On Tuesday 16 December 2008 19:52, Zero3 wrote:
> >   
> >> Matthew Toseland skrev:
> >>     
> >>> - Fixing the Firefox profile corruption bug, probably by starting a 
> >>>       
> > process in 
> >   
> >>> browse.sh/browse.cmd which constantly polls the profiles.ini and fixes 
it 
> >>>       
> > if 
> >   
> >>> the freenet profile has become the default.
> >>>   
> >>>       
> >> I hope I will get time to fix up a watchdog to do this under Windows as 
> >> a part of a new launcher (browse.cmd replacement).
> >>     
> >
> > How would it differ to browse.cmd? How would it be better?
> >   
> 
> On top of my head:
> - Cleaner code
> - Proper detection of FireFox location

We don't already have that? We check the registry etc ...

> - profiles.ini watchdog thingy

I had figured we'd implement this in java and start it when launching the 
browser. Then we solve it for non-Windows as well. Our last report was on 
Debian.

> - Check if node is running before launching FF (and if not, start or 
> inform user in a GUI message box) (and if needed, shutdown node 
> afterwards as well)

Not possible, as we've discussed.

> - If wanted, GUI warnings about missing daemon, FF or FF profile (we 
> talked a bit about the possibility of nagging users without daemon enabled)

As opposed to just creating it if it doesn't exist? Okay, telling the user to 
get FF would be useful.
> 
> Main reason for doing a real launcher (in AHK) was that doing the 
> profile.ini fix in a .cmd file would most likely turn up to be quite 
> ugly, so instead of having both a watchdog and a launcher, I figure you 
> might as well combine them.

True. But doing it in java is easy, and the JVM code will mostly be shared 
anyway so it won't be a high overhead. And it will be more maintainable.
> 
> - Zero3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20081217/5626faa8/attachment.pgp>

Reply via email to