ProcessDisplayName is a Swift package for macOS that allows processes to change their displayed name in Activity Monitor, htop, and similar tools.
The approach was adapted from libuv.
import ProcessDisplayName
ProcessDisplayName.set("My Sample App")The repository includes a demo app.
ProcessDisplayName uses private Launch Services API under the hood. Private APIs can change between macOS releases, and apps that use non-public APIs are not suitable for the Mac App Store.
ProcessDisplayName is available under the MIT license.
