diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-14 08:18:05 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-14 20:42:12 +0100 |
commit | 9dc9254da25b784fe32ec6bedfc258efe2254ba5 (patch) | |
tree | bbb17886a1ab1cbecd8c6ab6c1078f1a20bb9ebe /osdep/terminal-unix.c | |
parent | e32adef9c4775f9bfb696080b17193bbb58db507 (diff) | |
download | mpv-9dc9254da25b784fe32ec6bedfc258efe2254ba5.tar.bz2 mpv-9dc9254da25b784fe32ec6bedfc258efe2254ba5.tar.xz |
cocoa: add application icon to the Dock when run from CLI
Application icon was added to the Dock only when run inside of a bundle. That
was handled automatically by OS X using the Info.plist definition.
To add the Application icon when run as a CLI program, I used the samme
approach in the X11 code and loaded the icon as a static binary blob inside
of mpv's binary. This is the simplest approach as it avoid headackes when
relocating the binary and such.
Diffstat (limited to 'osdep/terminal-unix.c')
0 files changed, 0 insertions, 0 deletions