Matthew Toseland
Matthew Toseland
Yes, DarknetPeerNode's setStatus method calls PeerNode's setStatus and then changes the value in some cases. I will add some javadocs.
I'll try not to add more unrelated bugfixes to this branch! Please review. Thanks.
Also, note that this won't work unless FreenetTray.exe is in the nodeDir(). On old nodes upgraded via update.cmd, it might be in bin/. On really old nodes that haven't been...
Note that it uses relative filenames so hopefully it will work on non-English installs in spite of problems with charsets and batch files.
This would work more reliably if we wait for the wrapper to exit. nextgens toad_ the standard windows way of waiting for a process to exit is to loop nextgens...
Improvements addressing bertm's issues pushed. Also it will use the new FreenetTray.exe rather than the old one if it is updating FreenetTray.exe, which should be sufficient to make waiting for...
Yes, I tested it by replacing the FreenetTray.exe with an older version of the executable (in the installer history I think). Then it should update it to the latest version,...
The plan was to deploy the 64-bit wrapper dll and the wrapper exe separately from the 32-bit versions, and then have a new FreenetTray that uses the appropriate wrapper exe.
Really this needs refactoring so we use another object and can make stuff final. One serious concern is that it can call callbacks inside methods that ought to have more...
Hmmm, I'll need to think about that. It was some time back and I don't recall exactly what its state is. The main problem is it touches various core code...