Updated Interop.NetFwTypeLib to x64
This commit is contained in:
parent
1c1f9cddff
commit
7bcfa3d7b2
Binary file not shown.
|
@ -31,13 +31,13 @@ namespace NzbDrone.Host.AccessControl
|
||||||
{
|
{
|
||||||
if (!IsNzbDronePortOpen(_configFileProvider.Port))
|
if (!IsNzbDronePortOpen(_configFileProvider.Port))
|
||||||
{
|
{
|
||||||
_logger.Debug("Opening Port for NzbDrone: {0}", _configFileProvider.Port);
|
_logger.Debug("Opening Port for Sonarr: {0}", _configFileProvider.Port);
|
||||||
OpenFirewallPort(_configFileProvider.Port);
|
OpenFirewallPort(_configFileProvider.Port);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort))
|
if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort))
|
||||||
{
|
{
|
||||||
_logger.Debug("Opening SSL Port for NzbDrone: {0}", _configFileProvider.SslPort);
|
_logger.Debug("Opening SSL Port for Sonarr: {0}", _configFileProvider.SslPort);
|
||||||
OpenFirewallPort(_configFileProvider.SslPort);
|
OpenFirewallPort(_configFileProvider.SslPort);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
<ProjectReference Include="..\Sonarr.Http\Sonarr.Http.csproj" />
|
<ProjectReference Include="..\Sonarr.Http\Sonarr.Http.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Interop.NetFwTypeLib">
|
<Reference Include="Interop.NetFwTypeLib" Condition="'$(RuntimeIdentifier)'=='win-x64'">
|
||||||
<HintPath>..\Libraries\Interop.NetFwTypeLib.dll</HintPath>
|
<HintPath>..\Libraries\FirewallApi\$(Platform)\Interop.NetFwTypeLib.dll</HintPath>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
|
|
Loading…
Reference in New Issue