Readme update & few absolutely non-significant changes.
This commit is contained in:
parent
6f5d02a864
commit
10d7cce148
4 changed files with 11 additions and 5 deletions
|
@ -23,6 +23,10 @@ Sometimes I add new posts about this project [on my home page](https://developer
|
||||||
* [usb4java](https://mvnrepository.com/artifact/org.usb4java/usb4java)
|
* [usb4java](https://mvnrepository.com/artifact/org.usb4java/usb4java)
|
||||||
* Few icons taken from: [materialdesignicons.com](http://materialdesignicons.com/)
|
* Few icons taken from: [materialdesignicons.com](http://materialdesignicons.com/)
|
||||||
|
|
||||||
|
#### List of awesome contributors!
|
||||||
|
|
||||||
|
* [wolfposd](https://github.com/wolfposd)
|
||||||
|
|
||||||
#### Thanks for the great work done by our translators!
|
#### Thanks for the great work done by our translators!
|
||||||
|
|
||||||
* French by [Stephane Meden (JackFromNice)](https://github.com/JackFromNice)
|
* French by [Stephane Meden (JackFromNice)](https://github.com/JackFromNice)
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
||||||
<name>NS-USBloader</name>
|
<name>NS-USBloader</name>
|
||||||
|
|
||||||
<artifactId>ns-usbloader</artifactId>
|
<artifactId>ns-usbloader</artifactId>
|
||||||
<version>0.8-SNAPSHOT</version>
|
<version>0.8.1-SNAPSHOT</version>
|
||||||
|
|
||||||
<url>https://github.com/developersu/ns-usbloader/</url>
|
<url>https://github.com/developersu/ns-usbloader/</url>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -98,7 +98,8 @@ public class NSTableViewController implements Initializable {
|
||||||
protected void updateItem(Long length, boolean empty) {
|
protected void updateItem(Long length, boolean empty) {
|
||||||
if (length == null || empty) {
|
if (length == null || empty) {
|
||||||
setText("");
|
setText("");
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
setText(formatByteSize(length));
|
setText(formatByteSize(length));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -218,8 +219,9 @@ public class NSTableViewController implements Initializable {
|
||||||
rowsObsLst.removeIf(current -> ! current.getNspFileName().toLowerCase().endsWith("nsp"));
|
rowsObsLst.removeIf(current -> ! current.getNspFileName().toLowerCase().endsWith("nsp"));
|
||||||
table.refresh();
|
table.refresh();
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Used for showing in 'Size' column size representation in human-readable format
|
||||||
|
* */
|
||||||
private String formatByteSize(double length) {
|
private String formatByteSize(double length) {
|
||||||
final String[] unitNames = { "bytes", "KiB", "MiB", "GiB", "TiB"};
|
final String[] unitNames = { "bytes", "KiB", "MiB", "GiB", "TiB"};
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import java.util.Locale;
|
||||||
import java.util.ResourceBundle;
|
import java.util.ResourceBundle;
|
||||||
|
|
||||||
public class NSLMain extends Application {
|
public class NSLMain extends Application {
|
||||||
public static final String appVersion = "v0.8";
|
public static final String appVersion = "v0.8.1";
|
||||||
@Override
|
@Override
|
||||||
public void start(Stage primaryStage) throws Exception{
|
public void start(Stage primaryStage) throws Exception{
|
||||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("/NSLMain.fxml"));
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("/NSLMain.fxml"));
|
||||||
|
|
Loading…
Reference in a new issue