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:
parent
c0e6dfc226
commit
9c1c7443d9
@ -158,9 +158,10 @@ class WindowsBuilder(Builder):
|
|||||||
component_id = 'cmp_{source_id}'.format(source_id=source_id)
|
component_id = 'cmp_{source_id}'.format(source_id=source_id)
|
||||||
if self.arch == 'x64':
|
if self.arch == 'x64':
|
||||||
file_ = E.File(Id=file_id, KeyPath="yes", Source=source, ProcessorArchitecture='x64')
|
file_ = E.File(Id=file_id, KeyPath="yes", Source=source, ProcessorArchitecture='x64')
|
||||||
|
component = E.Component(file_, Id=component_id, Guid='*', Win64='yes')
|
||||||
else:
|
else:
|
||||||
file_ = E.File(Id=file_id, KeyPath="yes", Source=source)
|
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)
|
element.append(component)
|
||||||
components.append(component)
|
components.append(component)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user