Zielorientiertes Installieren von Modpacks
This commit is contained in:
parent
81aebf3842
commit
90bae0c04a
2 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue