From 71fdf1329e2551d33b39b5996983beb1692fa791 Mon Sep 17 00:00:00 2001 From: David Gerber Date: Sun, 19 Jan 2025 23:05:45 +0100 Subject: [PATCH] Fix the audio path on Linux (really) --- ui/src/main/java/io/xeres/ui/support/sound/SoundSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/main/java/io/xeres/ui/support/sound/SoundSettings.java b/ui/src/main/java/io/xeres/ui/support/sound/SoundSettings.java index f11cf3a7..cde64b93 100644 --- a/ui/src/main/java/io/xeres/ui/support/sound/SoundSettings.java +++ b/ui/src/main/java/io/xeres/ui/support/sound/SoundSettings.java @@ -150,7 +150,7 @@ private void loadIfNeeded() friendEnabled = node.getBoolean(ENABLE_FRIEND, false); downloadEnabled = node.getBoolean(ENABLE_DOWNLOAD, false); - var prefixPath = SystemUtils.IS_OS_LINUX ? "../lib/" : ""; + var prefixPath = SystemUtils.IS_OS_LINUX ? "/opt/xeres/lib/" : ""; messageFile = node.get(MESSAGE_FILE, prefixPath + "app/sounds/message-notification-190034.mp3"); highlightFile = node.get(HIGHLIGHT_FILE, prefixPath + "app/sounds/notification-4-126507.mp3");