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

Update service icon file name, and copy it into the dist directory as well

This commit is contained in:
Raoul Snyman 2019-04-30 23:21:19 -07:00
parent 06d323cda1
commit 8940ca6833
3 changed files with 3 additions and 1 deletions

View File

@ -390,6 +390,8 @@ class WindowsBuilder(Builder):
copy(self.icon_path, os.path.join(self.dist_path, 'OpenLP.ico')) copy(self.icon_path, os.path.join(self.dist_path, 'OpenLP.ico'))
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')
copy(self.icon_path, 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'))

View File

@ -1,4 +1,4 @@
<ProgId Id="OpenLP.Service" Description="OpenLP Service File" Icon="[APPLICATIONFOLDER]service-file.ico" Advertise="yes"> <ProgId Id="OpenLP.Service" Description="OpenLP Service File" Icon="[APPLICATIONFOLDER]service_file.ico" Advertise="yes">
<Extension Id="osz"> <Extension Id="osz">
<Verb Id="Open" Command="Open" Argument="&quot;%1&quot;" /> <Verb Id="Open" Command="Open" Argument="&quot;%1&quot;" />
<MIME Advertise="yes" ContentType="application/-x-openlp-service" Default="yes" /> <MIME Advertise="yes" ContentType="application/-x-openlp-service" Default="yes" />

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB