Compare commits
No commits in common. "7ba68c5ec131c1019dcf2ff33892c0cc81ae2c0e" and "cb3f0b0938f870cf44ee77f31238774c20747dd6" have entirely different histories.
7ba68c5ec1
...
cb3f0b0938
@ -1,9 +1,8 @@
|
||||
$Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1"
|
||||
$Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)"
|
||||
$Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib"
|
||||
$modulePath = "$Env:PATH_TO_FX;$PSScriptRoot\lib"
|
||||
$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib"
|
||||
$modules = $(
|
||||
"com.ctc.wstx",
|
||||
"com.fasterxml.jackson.annotation",
|
||||
"com.fasterxml.jackson.core",
|
||||
"com.fasterxml.jackson.dataformat.xml",
|
||||
|
3
run.ps1
3
run.ps1
@ -2,9 +2,8 @@ cd $PSScriptRoot
|
||||
$Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1"
|
||||
$Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)"
|
||||
$Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib"
|
||||
$modulePath = "$Env:PATH_TO_FX;$PSScriptRoot\lib"
|
||||
$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib"
|
||||
$modules = $(
|
||||
"com.ctc.wstx",
|
||||
"com.fasterxml.jackson.annotation",
|
||||
"com.fasterxml.jackson.core",
|
||||
"com.fasterxml.jackson.dataformat.xml",
|
||||
|
@ -51,10 +51,6 @@ public class Main extends Application {
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) throws Exception {
|
||||
primaryStage.setOnCloseRequest(e -> {
|
||||
Platform.exit();
|
||||
});
|
||||
|
||||
try {
|
||||
if (startParams.notification().isPresent()){
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("NotificationView.fxml"));
|
||||
|
@ -110,7 +110,6 @@ public class MainSettings {
|
||||
XmlMapper xmlMapper = new XmlMapper();
|
||||
xmlMapper.registerModule(new JavaTimeModule());
|
||||
xmlMapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
|
||||
xmlMapper.enable(SerializationFeature.INDENT_OUTPUT);
|
||||
try {
|
||||
Path filePath = getSettingsFilePath();
|
||||
Path directoryPath = filePath.getParent();
|
||||
|
@ -3,7 +3,6 @@ package name.nathanmcrae.numbersstation;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.Optional;
|
||||
import javafx.application.Platform;
|
||||
import javafx.event.Event;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.Alert;
|
||||
@ -55,7 +54,6 @@ public class NotificationController {
|
||||
Node node = (Node) event.getSource();
|
||||
Stage stage = (Stage) node.getScene().getWindow();
|
||||
stage.close();
|
||||
Platform.exit();
|
||||
}
|
||||
|
||||
public record NotificationParameters(String title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user