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 852 by alloc, Fri May 3 12:25:21 2013 UTC vs.
Revision 1078 by alloc, Mon Oct 16 15:31:37 2017 UTC

# Line 2 | Line 2 | package net.oni2.aeinstaller.updater;
2  
3   import java.io.File;
4   import java.io.FileNotFoundException;
5 + import java.io.FileOutputStream;
6   import java.io.PrintStream;
7  
8   import javax.swing.JFrame;
# Line 32 | Line 33 | public class AEInstaller2Updater {
33                  }
34                  if (!debug) {
35                          try {
36 <                                PrintStream ps = new PrintStream(new File(Paths.getPrefsPath(),
37 <                                                "updater_output.log"));
36 >                                PrintStream ps = new PrintStream(new FileOutputStream(new File(Paths.getPrefsPath(),
37 >                                                "updater_output.log")), true);
38                                  System.setOut(ps);
39                                  System.setErr(ps);
40                          } catch (FileNotFoundException e1) {

Diff Legend

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