diff --git a/firestar/src/main/java/Waldorf.java b/firestar/src/main/java/Waldorf.java index a321f34..cda1411 100644 --- a/firestar/src/main/java/Waldorf.java +++ b/firestar/src/main/java/Waldorf.java @@ -95,7 +95,7 @@ public class Waldorf implements ActionListener { frame.dispose(); } else if (actionEvent.getSource() == okbtn) { - Main.outpath = tOutPath+"/"; + Main.outpath = tOutPath; Main.checkUpdates = checkUpdatesToggle.isSelected(); Main.writeConf(); Main.loadConf(); @@ -159,7 +159,7 @@ public class Waldorf implements ActionListener { int result = fileChooser.showOpenDialog(frame); if (result == JFileChooser.APPROVE_OPTION) { if (fileChooser.getSelectedFile().isDirectory()) { - tOutPath = fileChooser.getSelectedFile().getAbsolutePath(); + tOutPath = fileChooser.getSelectedFile().getAbsolutePath()+"/"; fOutpath.setText(tOutPath); } } diff --git a/firestar/src/main/java/WilkinsCoffee.java b/firestar/src/main/java/WilkinsCoffee.java index 9524aff..a8fe946 100644 --- a/firestar/src/main/java/WilkinsCoffee.java +++ b/firestar/src/main/java/WilkinsCoffee.java @@ -159,7 +159,7 @@ public class WilkinsCoffee implements ActionListener { int result = fileChooser.showOpenDialog(frame); if (result == JFileChooser.APPROVE_OPTION) { if (fileChooser.getSelectedFile().isDirectory()) { - outPathTemp = fileChooser.getSelectedFile().getAbsolutePath(); + outPathTemp = fileChooser.getSelectedFile().getAbsolutePath()+"/"; pathDisplay.setText("Export path: " + outPathTemp); } }