feat: more work on UI cleanup

This commit is contained in:
2026-04-24 17:11:55 +02:00
parent 7a4c46b0df
commit eb609e1934
16 changed files with 1372 additions and 61 deletions

View File

@@ -58,6 +58,20 @@ defmodule BDS.Desktop.MenuBar do
{:noreply, menu}
end
def handle_event("open_in_browser", menu) do
case BDS.Desktop.ShellCommands.execute("open_in_browser") do
{:ok, %{url: url}} -> OS.launch_default_browser(url)
_other -> :ok
end
{:noreply, menu}
end
def handle_event("open_data_folder", menu) do
_ = BDS.Desktop.ShellCommands.execute("open_data_folder")
{:noreply, menu}
end
def handle_event("report_issue", menu) do
OS.launch_default_browser("https://github.com/rfc1437/bDS/issues")
{:noreply, menu}