Skip to content

Commit

Permalink
Fix the audio path on Linux (really)
Browse files Browse the repository at this point in the history
  • Loading branch information
zapek committed Jan 19, 2025
1 parent 6d4a4dc commit 71fdf13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 71fdf13

Please sign in to comment.