mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 06:34:43 -04:00
Minor corrections
This commit is contained in:
parent
6a7b752c39
commit
6f7158b376
4 changed files with 30 additions and 27 deletions
|
@ -28,10 +28,12 @@ public class NSLMain extends Application {
|
|||
rb = ResourceBundle.getBundle("locale", new Locale("en"));
|
||||
|
||||
// If it's windows, refuse to work
|
||||
/*
|
||||
if (System.getProperty("os.name").toLowerCase().startsWith("win")){
|
||||
ServiceWindow.getErrorNotification(rb.getString("windowErrorHeader"), rb.getString("windowItsWindowsMessage"));
|
||||
}
|
||||
else{
|
||||
/*/
|
||||
// If it's not, go ahead
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("/NSLMain.fxml"));
|
||||
|
||||
|
@ -59,8 +61,9 @@ public class NSLMain extends Application {
|
|||
e.consume();
|
||||
});
|
||||
}
|
||||
/*/
|
||||
}
|
||||
|
||||
/*/
|
||||
|
||||
public static void main(String[] args) {
|
||||
if ((args.length == 1) && (args[0].equals("-v") || args[0].equals("--version"))){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue