pgcli icon indicating copy to clipboard operation
pgcli copied to clipboard

On MacOS, I get an icon in my dock any time I run pgcli

Open omega opened this issue 10 months ago • 3 comments

Whenever I start pgcli it seems to start a background python process, that ends up showing up in my dock. It doesn't hurt, it just gets in the way a bit.

Image

something like

import AppKit
info = AppKit.NSBundle.mainBundle().infoDictionary()
info["LSBackgroundOnly"] = "1"

at the right place might do the trick, if AppKit is available, but I am not proficient enough in python to know the details.

omega avatar Mar 12 '25 05:03 omega

pgcli is a Python program, so that makes sense. How are you running it?

j-bennet avatar Mar 22 '25 16:03 j-bennet

I'm starting it from my terminal, and then I assume it starts a background process of some kind, which ends up showing an icon in the dock. Not a big deal, but it might seem confusing to users 🤷

omega avatar Mar 24 '25 12:03 omega