Compare commits
No commits in common. "4787e7bc7197855981979eb786deb8f80d160511" and "22fc8848989ef870c33ef657c2857a30c1e2e758" have entirely different histories.
4787e7bc71
...
22fc884898
5 changed files with 5 additions and 6 deletions
|
@ -6,7 +6,6 @@
|
|||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
|||
<name>JavaUSBTool</name>
|
||||
|
||||
<artifactId>javausbtool</artifactId>
|
||||
<version>0.2-SNAPSHOT</version>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
|
||||
<url>https://github.com/developersu/javausbtool/</url>
|
||||
<description>
|
||||
|
|
|
@ -49,10 +49,10 @@ public class AppPreferences {
|
|||
public short getPid(){ return (short) preferences.getInt("pid", 0x3000); }
|
||||
public void setPid(short value){ preferences.putInt("pid", value); }
|
||||
|
||||
public int getInterface(){ return preferences.getInt("interface", 0); }
|
||||
public int getInterface(){ return preferences.getInt("interface", 1); }
|
||||
public void setInterface(int value){ preferences.putInt("interface", value); }
|
||||
|
||||
public int getDeviceConfiguration(){ return preferences.getInt("devconfiguration", 1); }
|
||||
public int getDeviceConfiguration(){ return preferences.getInt("devconfiguration", 0); }
|
||||
public void setDeviceConfiguration(int value){ preferences.putInt("devconfiguration", value); }
|
||||
|
||||
public boolean getHandleKernelDrvAutoDetach(){ return preferences.getBoolean("handle_kernel_driver", true); }
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.util.ResourceBundle;
|
|||
|
||||
public class JFXMain extends Application {
|
||||
|
||||
public static final String appVersion = "v0.2";
|
||||
public static final String appVersion = "v0.1";
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) throws Exception{
|
||||
|
|
|
@ -57,7 +57,7 @@ class UsbLoop {
|
|||
|
||||
logPrinter.print("============= UsbProtocol =============");
|
||||
|
||||
this.saveRepliesFolder = new File(saveRepliesTo+File.separator+ LocalTime.now().format(DateTimeFormatter.ofPattern("HH:mm:ss")));
|
||||
this.saveRepliesFolder = new File(saveRepliesTo+ LocalTime.now().format(DateTimeFormatter.ofPattern("HH:mm:ss")));
|
||||
saveRepliesFolder.mkdirs();
|
||||
|
||||
logPrinter.print("Save replies to dir: "+saveRepliesFolder.getName());
|
||||
|
|
Loading…
Reference in a new issue