Update firewall authorization

This commit is contained in:
Luke Pulverenti
2016-03-26 13:51:27 -04:00
parent 661acc256a
commit ac07c2072a
8 changed files with 24 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ namespace MediaBrowser.ServerApplication.Native
/// <param name="httpServerPort">The HTTP server port.</param>
/// <param name="httpsServerPort">The HTTPS server port.</param>
/// <param name="tempDirectory">The temp directory.</param>
public static void AuthorizeServer(int udpPort, int httpServerPort, int httpsServerPort, string tempDirectory)
public static void AuthorizeServer(int udpPort, int httpServerPort, int httpsServerPort, string applicationPath, string tempDirectory)
{
Directory.CreateDirectory(tempDirectory);
@@ -37,7 +37,7 @@ namespace MediaBrowser.ServerApplication.Native
{
FileName = tmpFile,
Arguments = string.Format("{0} {1} {2}", udpPort, httpServerPort, httpsServerPort),
Arguments = string.Format("{0} {1} {2} \"{3}\"", udpPort, httpServerPort, httpsServerPort, applicationPath),
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden,