OSX Application Icons #1366
Replies: 2 comments 10 replies
-
I don't have any experience with that but maybe you can come up with a solution based on https://gist.github.com/mathiasbynens/674099 or some of the links in the comments. On macOS a GUI application consists of a particular folder structure with an icon file, libraries and an executable file inside the folder structure. When the macOS user interface recognises a folder structure like this, it will render the icon and hide the underlying folder structure (but you can right-click any .app and inspect it via "Show Package Contents").
You may be interested in https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap as this will allow you to host formulas yourself. TLDR; If you publish a formula file to https://github.com/USERNAME/homebrew-XYZ/blob/master/Formula/myfancyapp.rb it can be installed by this command: |
Beta Was this translation helpful? Give feedback.
-
Hi, I hope this is the right place to ask, since I have no experience with Homebrew nor OSX.
I'm currently trying to build NoteKit on OSX because a user asked for a OSX port (blackhole89/notekit#90) . I've got NoteKit running in a OSX VM with software rendering, and the experience (after figuring out OSX's wierd keyboard- shortcuts & combinations) porting it was a lot easier than to Windows.
However I face an issue now in-that, what ever equivalent of freedesktop's deskop entry OSX uses is. Because NoteKit does not have an icon in the dock (see screenshot in linked issue) nor does it have a proper title in the top left corner (it just uses the name of the binary). Additionally if I pin NoteKit to the dock, close and reopen it, a terminal window pops, printing out the stdout it received from notekit.
If anyone has experience building GTK applications with Homebrew and knows how to add a desktop entry or equivalent, I'd greatly appreciate if you could tell me how.
Additionally I'd love to hear some feedback on my "Formula"s for NoteKit and cLaTeXMath (both are in the linked issue) since it's my first time writing one. I know they wouldn't pass the Formula requirement's due to using a git source without commit id and having an uncommented patch (required to build NoteKit on llvm clang).
Beta Was this translation helpful? Give feedback.
All reactions