Use nicer name for notifier app so that it is recognizable in the notification center settings

This commit is contained in:
Kovid Goyal 2012-11-29 09:19:17 +05:30
parent e21ec2b400
commit 21f53431ad
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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