diff --git a/icons/ebook-tweak.ico b/icons/ebook-tweak.ico new file mode 100644 index 0000000000..b05d62fcd1 Binary files /dev/null and b/icons/ebook-tweak.ico differ diff --git a/setup/installer/windows/freeze.py b/setup/installer/windows/freeze.py index d59c086f26..14bc1b6827 100644 --- a/setup/installer/windows/freeze.py +++ b/setup/installer/windows/freeze.py @@ -30,6 +30,7 @@ machine = 'X64' if is64bit else 'X86' DESCRIPTIONS = { 'calibre' : 'The main calibre program', 'ebook-viewer' : 'Viewer for all e-book formats', + 'ebook-tweak' : 'Edit e-books', 'lrfviewer' : 'Viewer for LRF files', 'ebook-convert': 'Command line interface to the conversion/news download system', 'ebook-meta' : 'Command line interface for manipulating e-book metadata', @@ -334,7 +335,7 @@ class Win32Freeze(Command, WixMixIn): def embed_resources(self, module, desc=None, extra_data=None, product_description=None): icon_base = self.j(self.src_root, 'icons') - icon_map = {'calibre':'library', 'ebook-viewer':'viewer', + icon_map = {'calibre':'library', 'ebook-viewer':'viewer', 'ebook-tweak':'ebook-tweak', 'lrfviewer':'viewer', 'calibre-portable':'library'} file_type = 'DLL' if module.endswith('.dll') else 'APP' template = open(self.rc_template, 'rb').read() diff --git a/setup/installer/windows/wix-template.xml b/setup/installer/windows/wix-template.xml index cd4a8c457a..f036f4ff6c 100644 --- a/setup/installer/windows/wix-template.xml +++ b/setup/installer/windows/wix-template.xml @@ -72,6 +72,10 @@ Description="Viewer for all the major e-book formats" Target="[#{exe_map[ebook-viewer]}]" WorkingDirectory="APPLICATIONROOTDIRECTORY" /> +