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

Mark components as 64-bit

This commit is contained in:
Raoul Snyman 2019-04-10 14:59:40 -07:00
parent c0e6dfc226
commit 9c1c7443d9

View File

@ -158,9 +158,10 @@ class WindowsBuilder(Builder):
component_id = 'cmp_{source_id}'.format(source_id=source_id)
if self.arch == 'x64':
file_ = E.File(Id=file_id, KeyPath="yes", Source=source, ProcessorArchitecture='x64')
component = E.Component(file_, Id=component_id, Guid='*', Win64='yes')
else:
file_ = E.File(Id=file_id, KeyPath="yes", Source=source)
component = E.Component(file_, Id=component_id, Guid='*')
component = E.Component(file_, Id=component_id, Guid='*')
element.append(component)
components.append(component)