ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java
(Generate patch)

Comparing java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java (file contents):
Revision 734 by alloc, Thu Mar 21 17:27:24 2013 UTC vs.
Revision 777 by alloc, Tue Apr 2 00:33:46 2013 UTC

# Line 23 | Line 23 | public class AEInstaller2Updater {
23           */
24          public static void main(String[] args) {
25                  boolean debug = false;
26 <                for (String a : args)
26 >                for (String a : args) {
27                          if (a.equalsIgnoreCase("-debug"))
28                                  debug = true;
29 +                        if (a.equalsIgnoreCase("-usewd"))
30 +                                Paths.useWorkingDirectory = true;
31 +                }
32                  if (!debug) {
33                          try {
34                                  PrintStream ps = new PrintStream(new File(Paths.getPrefsPath(),

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)