Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application icon is not forwarded #1

Open
stigi opened this issue Aug 12, 2012 · 7 comments
Open

Application icon is not forwarded #1

stigi opened this issue Aug 12, 2012 · 7 comments

Comments

@stigi
Copy link
Owner

stigi commented Aug 12, 2012

Problem

The icon of the origin application is not appearing in notification center. This is due to the face that the user notifications are actually send by the Growl application and not the origin application.

Possible Solutions

Dynamic applications

Create an proxy application that has the same icon as the origin application.

Private API

There's a method +[NSUserNotificationCenter _centerForBundleIdentifier:] in the class dumped headers of Foundation.framework. Maybe this can be used to change the origin of the user notification to the origin application.

With both approaches there might be issues with application sandboxing (as Growl is distributed thru the app store).

@tripplet
Copy link

Hi maybe its possible to replace the Growl.framework of apps with a modified one and create the notification center message from inside the app this way. But I'm not sure if this is possible.
There is a tool to update the framework called "Growl Version Detective".

@tripplet
Copy link

Found it, someone else already did this: https://github.com/Rogiel/GrowlNotificationCenter#readme

@oskarkrawczyk
Copy link

Wouldn't this make apps bought from the App Store unusable? Would they even launch?

@tripplet
Copy link

I'm not familiar with the details of code signing of applications from the app store, but usually your mac should execute unsigned code ;-)
Not sure with gatekeeper though.
I testet it with this http://itunes.apple.com/de/app/unplugged/id423123087?mt=12 and it worked.
(gatekeeper is set to "app store and verified developer" on my mac)

@stigi
Copy link
Owner Author

stigi commented Aug 16, 2012

Replacing the Growl.framework inside of apps is not the intention of this project. If we find a way to dynamically create an App bundle for each App & fire the notification from there this could work though.

stigi added a commit that referenced this issue Aug 25, 2012
- Growl version 1.4 requirement
- Mentioning to select the default display style
- Adding a link to issue #1 when mentioning it in the readme
stigi added a commit that referenced this issue Aug 25, 2012
- Growl version 1.4 requirement
- Mentioning to select the default display style
- Adding a link to issue #1 when mentioning it in the readme
@stigi
Copy link
Owner Author

stigi commented Aug 26, 2012

Here's a script to create a simple Mac App: https://gist.github.com/674099

@stigi
Copy link
Owner Author

stigi commented Sep 14, 2012

FYI: There's a new kid on the block called Bark that manages to do the app icon trick. Don't know how they did it yet, but am eager to find out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants