battery icon indicating copy to clipboard operation
battery copied to clipboard

Use the Mac OS proxy settings

Open johannes-mathes opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. My Mac has a proxy configured in Mac OS system preferences. The HTTP_PROXY environment variable and HTTPS_PROXY are set accordingly. The battery GUI, however, ignores those settings and simply can't connect. It is described in https://github.com/actuallymentor/battery/issues/168 .

Describe the solution you'd like For users behind a (corporate) proxy, the GUI and the battery command line tool should obey the Mac OS system preference and use a proxy.

Describe alternatives you've considered The error message could state that for the first run there must be a direct internet connection without proxy.

Additional context If running with a proxy, I really did not manage to get this tool to work (even using command-line setup and what not). I finally saw the closed bug ticket and then tried to connect without proxy and it worked like a charm.

I think there are a lot users out there behind a (corporate) proxy.

johannes-mathes avatar Mar 04 '24 15:03 johannes-mathes