backrest icon indicating copy to clipboard operation
backrest copied to clipboard

Windows tray icon doesn't honour --bind-address

Open homandr opened this issue 4 months ago • 2 comments

The "Open WebUI" option in Windows tray icon doesn't reflect the port customized with --bind-address. The new feature introduced in https://github.com/garethgeorge/backrest/issues/851 works, it's just the tray menu code probably needs to be updated too.

Using the environment variable works correctly.

homandr avatar Aug 08 '25 19:08 homandr

Hey -- what does the value you're passing to --bind-address look like?

The logic here https://github.com/garethgeorge/backrest/blob/16e6edef9dc2af29430520caad503ca0a476cd78/cmd/backrestmon/backrestmon.go#L56 should be parsing and using the bind address provided on the cli or as an environment variable.

garethgeorge avatar Aug 08 '25 21:08 garethgeorge

Here is what I used: backrest-windows-tray.exe --bind-address 127.0.0.1:9899

But the WebUI menu still opens 9898. I think the code above is only looking at the environment variables.

homandr avatar Aug 09 '25 02:08 homandr