Remove ':' from folder name

This commit is contained in:
Dmitry Isaenko 2020-05-05 16:32:33 +03:00
parent 4787e7bc71
commit abd52d5c0b
3 changed files with 3 additions and 6 deletions

View file

@ -8,7 +8,7 @@
<name>JavaUSBTool</name> <name>JavaUSBTool</name>
<artifactId>javausbtool</artifactId> <artifactId>javausbtool</artifactId>
<version>0.2-SNAPSHOT</version> <version>0.3-SNAPSHOT</version>
<url>https://github.com/developersu/javausbtool/</url> <url>https://github.com/developersu/javausbtool/</url>
<description> <description>

View file

@ -26,12 +26,9 @@ import javafx.scene.image.Image;
import javafx.stage.Stage; import javafx.stage.Stage;
import javausbtool.controllers.LandingPageController; import javausbtool.controllers.LandingPageController;
import java.util.Locale;
import java.util.ResourceBundle;
public class JFXMain extends Application { public class JFXMain extends Application {
public static final String appVersion = "v0.2"; public static final String appVersion = "v0.3";
@Override @Override
public void start(Stage primaryStage) throws Exception{ public void start(Stage primaryStage) throws Exception{

View file

@ -57,7 +57,7 @@ class UsbLoop {
logPrinter.print("============= UsbProtocol ============="); logPrinter.print("============= UsbProtocol =============");
this.saveRepliesFolder = new File(saveRepliesTo+File.separator+ LocalTime.now().format(DateTimeFormatter.ofPattern("HH:mm:ss"))); this.saveRepliesFolder = new File(saveRepliesTo+File.separator+ LocalTime.now().format(DateTimeFormatter.ofPattern("HH-mm-ss")));
saveRepliesFolder.mkdirs(); saveRepliesFolder.mkdirs();
logPrinter.print("Save replies to dir: "+saveRepliesFolder.getName()); logPrinter.print("Save replies to dir: "+saveRepliesFolder.getName());