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();
|
OeffnenDialogClass a = new OeffnenDialogClass();
|
||||||
System.out.println("GUI = " + datei);
|
System.out.println("GUI = " + datei);
|
||||||
UnZip.modpack = 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();
|
UnZip.main();
|
||||||
jButton4ActionPerformed(evt);
|
jButton4ActionPerformed(evt);
|
||||||
} catch (java.lang.NullPointerException ex) {
|
} catch (java.lang.NullPointerException ex) {
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class UnZip {
|
||||||
static String modpack1 = "";
|
static String modpack1 = "";
|
||||||
public static void main() {
|
public static void main() {
|
||||||
String source = modpack;
|
String source = modpack;
|
||||||
String destination = System.getProperty("user.home") + "/.minecraft";
|
String destination = modpack1;
|
||||||
String password = "mypassword";
|
String password = "mypassword";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue