Zielorientiertes Installieren von Modpacks

This commit is contained in:
Simon Rieger 2016-10-17 11:22:09 +02:00
parent 81aebf3842
commit 90bae0c04a
2 changed files with 5 additions and 1 deletions

View file

@ -297,6 +297,10 @@ public class GUI extends javax.swing.JFrame {
OeffnenDialogClass a = new OeffnenDialogClass();
System.out.println("GUI = " + datei);
UnZip.modpack = datei;
JOptionPane.showMessageDialog(null, "Bitte geben sie einen Installationsort für das Modpack!");
OeffnenDialogClass.main(null);
System.out.println("GUI = " + datei);
UnZip.modpack1 = datei;
UnZip.main();
jButton4ActionPerformed(evt);
} catch (java.lang.NullPointerException ex) {

View file

@ -18,7 +18,7 @@ public class UnZip {
static String modpack1 = "";
public static void main() {
String source = modpack;
String destination = System.getProperty("user.home") + "/.minecraft";
String destination = modpack1;
String password = "mypassword";
try {