1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

Copy the right icon file

This commit is contained in:
Raoul Snyman 2019-05-02 13:40:11 -07:00
parent 697cc77641
commit b7323b69d1

View File

@ -391,7 +391,8 @@ class WindowsBuilder(Builder):
self._print_verbose('... LICENSE.txt') self._print_verbose('... LICENSE.txt')
copy(self.license_path, os.path.join(self.dist_path, 'LICENSE.txt')) copy(self.license_path, os.path.join(self.dist_path, 'LICENSE.txt'))
self._print_verbose('... service_file.ico') 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')): if os.path.isfile(os.path.join(self.helpfile_path, 'OpenLP.chm')):
self._print_verbose('... OpenLP.chm') self._print_verbose('... OpenLP.chm')
copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm')) copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm'))