From 3ca5a472e61e6c241e25ed03f1635b162214cd69 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 1 Sep 2016 09:54:31 +0530 Subject: [PATCH] Use common icon for notifier and main app bundles --- setup/installer/osx/app/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/installer/osx/app/main.py b/setup/installer/osx/app/main.py index 3966114320..757f547704 100644 --- a/setup/installer/osx/app/main.py +++ b/setup/installer/osx/app/main.py @@ -639,8 +639,9 @@ class Py2App(object): self.create_app_clone('console.app', specialise_plist) # Comes from the terminal-notifier project: # https://github.com/alloy/terminal-notifier - shutil.copytree(join(SW, 'build/notifier.app'), join( - self.contents_dir, 'calibre-notifier.app')) + dest = join(self.contents_dir, 'calibre-notifier.app') + shutil.copytree(join(SW, 'build/notifier.app'), dest) + shutil.copy2(join(self.resources_dir, 'calibre.icns'), join(dest, 'Contents', 'Resources', 'library.icns')) @flush def create_gui_apps(self):