From 03e35d2e9b5bbeb7005b7002464791718adfc253 Mon Sep 17 00:00:00 2001 From: David Gerber Date: Sat, 28 Dec 2024 23:26:19 +0100 Subject: [PATCH] Fix check for updates for release builds --- .../main/java/io/xeres/ui/controller/MainWindowController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/main/java/io/xeres/ui/controller/MainWindowController.java b/ui/src/main/java/io/xeres/ui/controller/MainWindowController.java index 91925466..d4ef82c7 100644 --- a/ui/src/main/java/io/xeres/ui/controller/MainWindowController.java +++ b/ui/src/main/java/io/xeres/ui/controller/MainWindowController.java @@ -319,9 +319,10 @@ public void initialize() systemProperties.setOnAction(event -> windowManager.openSystemProperties()); openShell.setOnAction(event -> MinimalUserInterface.openShell()); openUiCheck.setOnAction(event -> windowManager.openUiCheck()); - versionCheck.setOnAction(even -> checkForUpdate()); } + versionCheck.setOnAction(even -> checkForUpdate()); + exitApplication.setOnAction(event -> trayService.exitApplication()); setupNotifications();