Skip to content

Commit

Permalink
Project: Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leosarra committed Dec 8, 2017
1 parent 41a4757 commit 420461f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.lithium</groupId>
<artifactId>Guild_Wars_2_Launcher</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<name>Guild Wars 2 Launcher</name>

<description>Custom launcher for Guild Wars 2 with the purpose to keep ArcDPS up-to-date and fully functional</description>
Expand Down
1 change: 0 additions & 1 deletion src/framework/Operations.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ public static synchronized void removeArcSetting(CoreFrame cf, String path) {
}

public static synchronized void removeReshadeLoader(String path) {
System.out.println("entro");
File reshadeLoader = new File(path+"\\bin64\\d3d9_chainload.dll");
if (reshadeLoader.exists()) reshadeLoader.delete();

Expand Down
3 changes: 1 addition & 2 deletions src/launcher/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class Main {
private static final String username="LithiumSR";
private static final String repoName="gw2_launcher";
private static final String version="1.0.1";
private static final String version="1.0.2";

public static void main(String[] args) throws InterruptedException {

Expand Down Expand Up @@ -108,7 +108,6 @@ else if (DirChooser.validDir(prop.getProperty("path")) && prop.getProperty("fast
//Type is one of the settings contained in gw2_launcher.cfg
Operations.closeLogHandlers(log);
Thread t1=null;
System.out.println(prop.getProperty("useAddons"));
if (prop.getProperty("useAddons","yes").equals("yes")) { t1= new Thread(new FastUpdater(gui,prop.getProperty("path"),true));}
else t1= new Thread(new FastUpdater(gui,prop.getProperty("path"),false));
t1.start();
Expand Down
2 changes: 0 additions & 2 deletions src/updater/UpdateNotifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ public void run() {
logger.log(Level.SEVERE,"An update is avaiable. Please get the update at "+URI);
int dialogButton=0;
JOptionPane.showConfirmDialog(null,"An update for the launcher is avaiable. Would you like to go to the download page?","An update is avaiable",dialogButton);
System.out.println(dialogButton);
if (dialogButton==JOptionPane.YES_OPTION){
try {
System.out.println("ESEGUO");
java.awt.Desktop.getDesktop().browse(new java.net.URI(URI));
} catch (IOException | URISyntaxException e) {
e.printStackTrace();
Expand Down

0 comments on commit 420461f

Please sign in to comment.