Changeset 730 for java/installer2/src/net/oni2/aeinstaller/backend
- Timestamp:
- Mar 21, 2013, 6:25:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/Paths.java
r720 r730 36 36 return new File(wd); 37 37 } else { 38 String jarPath = SettingsManager.class.getProtectionDomain()38 String jarPath = Paths.class.getProtectionDomain() 39 39 .getCodeSource().getLocation().getPath(); 40 40 String decodedPath = null; … … 44 44 e.printStackTrace(); 45 45 } 46 return new File(decodedPath).getParentFile() ;46 return new File(decodedPath).getParentFile().getParentFile(); 47 47 } 48 48 }
Note:
See TracChangeset
for help on using the changeset viewer.