Skip to content

Commit

Permalink
Update main.wxs
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Feb 7, 2025
1 parent b467469 commit cbe0c25
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions wix/main.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,25 @@
<Component Id="FirewallRulesComponent" Guid="{3e2969ad-4782-4c85-9d77-37f8fd24bb01}">
<File Id="HalloyExe" Source="target/release/halloy.exe" KeyPath="yes">
<util:PermissionEx User="Everyone" Read="yes" Execute="yes" />

<!-- Inbound TCP Rule -->
<util:FirewallException
Id="FirewallRuleTCP"
Name="Halloy TCP"
Scope="any"
Protocol="tcp"
Program="[INSTALLFOLDER]halloy.exe"
Direction="in"
Profile="public"
/>

<!-- Inbound UDP Rule -->
<util:FirewallException
Id="FirewallRuleUDP"
Name="Halloy UDP"
Scope="any"
Protocol="udp"
Program="[INSTALLFOLDER]halloy.exe"
Direction="in"
Profile="public"
/>
</File>

<util:FirewallException
Id="FirewallRuleTCP"
Name="Halloy TCP"
Scope="any"
Protocol="tcp"
Program="[#HalloyExe]"
Direction="in"
Profile="public" />

<util:FirewallException
Id="FirewallRuleUDP"
Name="Halloy UDP"
Scope="any"
Protocol="udp"
Program="[#HalloyExe]"
Direction="in"
Profile="public" />
</Component>

<Component>
Expand Down

0 comments on commit cbe0c25

Please sign in to comment.