mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use nicer name for notifier app so that it is recognizable in the notification center settings
This commit is contained in:
parent
e21ec2b400
commit
21f53431ad
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user