diff --git a/builders/windows-builder.py b/builders/windows-builder.py index 28e30dd..565c95d 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -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'))