* Add wrapper.config and i2prouter comments for 'portable'

* Recognize same base and config dir in WorkingDir
    * Reformat XInfoPanel in installer for clarity
This commit is contained in:
zzz
2009-07-26 14:55:01 +00:00
parent 3c76fda8d9
commit cc533b0431
6 changed files with 45 additions and 2 deletions

View File

@ -95,6 +95,12 @@ public class WorkingDir {
return cwd;
}
// apparently configured for "portable" ?
try {
if (oldDirf.getCanonicalPath().equals(dirf.getCanonicalPath()))
return cwd;
} catch (IOException ioe) {}
// where we want to go
String rv = dirf.getAbsolutePath();
if (dirf.exists()) {