- Timestamp:
- Apr 2, 2013, 2:33:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/backend/Paths.java
r734 r777 9 9 */ 10 10 public class Paths { 11 12 /** 13 * Use the wd instead of the jar path 14 */ 15 public static boolean useWorkingDirectory = false; 11 16 12 17 /** … … 33 38 */ 34 39 public static File getPrefsPath() { 35 return getInstallerPath(); 40 if (useWorkingDirectory) { 41 String wd = System.getProperty("user.dir"); 42 return new File(wd); 43 } else 44 return getInstallerPath(); 36 45 } 37 46
Note:
See TracChangeset
for help on using the changeset viewer.