Copy the right icon file

This commit is contained in:
Raoul Snyman 2019-05-02 13:40:11 -07:00
parent 697cc77641
commit b7323b69d1
1 changed files with 2 additions and 1 deletions

View File

@ -391,7 +391,8 @@ class WindowsBuilder(Builder):
self._print_verbose('... LICENSE.txt')
copy(self.license_path, os.path.join(self.dist_path, 'LICENSE.txt'))
self._print_verbose('... service_file.ico')
copy(self.icon_path, os.path.join(self.dist_path, 'service_file.ico'))
config_dir = os.path.dirname(self.config_path)
copy(os.path.join(config_dir, 'service_file.ico'), os.path.join(self.dist_path, 'service_file.ico'))
if os.path.isfile(os.path.join(self.helpfile_path, 'OpenLP.chm')):
self._print_verbose('... OpenLP.chm')
copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm'))