From 21f53431ad98370ae3063fc99eaeed77098deb7d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 29 Nov 2012 09:19:17 +0530 Subject: [PATCH] Use nicer name for notifier app so that it is recognizable in the notification center settings --- setup/installer/osx/app/main.py | 2 +- src/calibre/gui2/notify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/installer/osx/app/main.py b/setup/installer/osx/app/main.py index 1b9023b79a..345b75f56f 100644 --- a/setup/installer/osx/app/main.py +++ b/setup/installer/osx/app/main.py @@ -598,7 +598,7 @@ class Py2App(object): os.symlink(join('../..', x), join(cc_dir, x)) shutil.copytree(join(SW, 'build/notifier.app'), join( - self.contents_dir, 'notifier.app')) + self.contents_dir, 'calibre-notifier.app')) @flush def copy_site(self): diff --git a/src/calibre/gui2/notify.py b/src/calibre/gui2/notify.py index 2b876c2210..c3651b92c6 100644 --- a/src/calibre/gui2/notify.py +++ b/src/calibre/gui2/notify.py @@ -108,7 +108,7 @@ class AppleNotifier(Notifier): import os, sys try: self.exe = os.path.join(sys.console_binaries_path.replace( - 'console.app', 'notifier.app'), 'Calibre') + 'console.app', 'calibre-notifier.app'), 'Calibre') self.ok = os.access(self.exe, os.X_OK) import subprocess self.call = subprocess.Popen