mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Make sure the Firewall rule is only added to a single component
This commit is contained in:
parent
a88d398587
commit
b4bd034d2f
@ -164,7 +164,7 @@ class WindowsBuilder(Builder):
|
||||
else:
|
||||
file_ = E.File(Id=file_id, KeyPath='yes', Source=source)
|
||||
component = E.Component(file_, Id=component_id, Guid='*')
|
||||
if 'OpenLP.exe' in source:
|
||||
if source.endswith('OpenLP.exe'):
|
||||
description = 'Firewall exception for OpenLP\'s remote interface (UDP)'
|
||||
program = '[#file_e368869eb54b01e2288a3359b1cf51f8]'
|
||||
component.append(FxE.FirewallException(Id='OpenLP_TCP', Name='OpenLP',
|
||||
|
Loading…
Reference in New Issue
Block a user