jacobsalmela / NCutil

Notification Center utility- Add/remove apps, set alert styles, suppress App store notifications
GNU General Public License v2.0
171 stars 18 forks source link

added: remove-system-center for 10.10 this will remove all apple default... #2

Closed jasonpjohnson closed 9 years ago

jasonpjohnson commented 9 years ago

... notifications for updates and other system level updates.

added: none flag for 10.10 added: notificationcenter and usernoted killall after db commit.

refactored: set_style to allow for easier adding of specific item types and os support

jacobsalmela commented 9 years ago

You additions are pretty sweet. I have a few questions/comments:

+    else:
+       c.execute("UPDATE app_info SET flags='%s' where bundleid='%s'" % (alert_style, bundle_id))
+    commit_changes()
jasonpjohnson commented 9 years ago

Thanks!

1.) Yes help error, corrected ended with flag -s 2.) If you look at your code your default option is the same as the option for facetime, gamecenter and safari so you really can just let them fall through and let default handle them. 3.) Yes, it is really sad. - Do you have none options for 10.9 ? I do not have a 10.9 box around. 4.) Corrected - Moving between PyCharm and vim does some odd things.

image

jacobsalmela commented 9 years ago

What are all those XML files?

jasonpjohnson commented 9 years ago

Sorry - I had a commit on a computer without my global gitignore so it put a bunch of IDE setting in place. Any luck testing on 10.9 ?

jacobsalmela commented 9 years ago

After some testing, this seems to work as expected. Thanks!!