From b7323b69d1fa178733c9ff1746fa9eab68155917 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 2 May 2019 13:40:11 -0700 Subject: [PATCH] Copy the right icon file --- builders/windows-builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'))