mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
update mac project
This commit is contained in:
parent
9f3389ff07
commit
a38567e787
1 changed files with 1 additions and 9 deletions
|
@ -119,10 +119,7 @@ namespace MediaBrowser.Server.Mac
|
||||||
environmentInfo,
|
environmentInfo,
|
||||||
imageEncoder,
|
imageEncoder,
|
||||||
new SystemEvents(logManager.GetLogger("SystemEvents")),
|
new SystemEvents(logManager.GetLogger("SystemEvents")),
|
||||||
new MemoryStreamProvider(),
|
new NetworkManager(logManager.GetLogger("NetworkManager")));
|
||||||
new NetworkManager(logManager.GetLogger("NetworkManager")),
|
|
||||||
GenerateCertificate,
|
|
||||||
() => Environment.UserName);
|
|
||||||
|
|
||||||
if (options.ContainsOption("-v")) {
|
if (options.ContainsOption("-v")) {
|
||||||
Console.WriteLine (AppHost.ApplicationVersion.ToString());
|
Console.WriteLine (AppHost.ApplicationVersion.ToString());
|
||||||
|
@ -146,11 +143,6 @@ namespace MediaBrowser.Server.Mac
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void GenerateCertificate(string certPath, string certHost, string certPassword)
|
|
||||||
{
|
|
||||||
CertificateGenerator.CreateSelfSignCertificatePfx(certPath, certHost, certPassword, _logger);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static EnvironmentInfo GetEnvironmentInfo()
|
private static EnvironmentInfo GetEnvironmentInfo()
|
||||||
{
|
{
|
||||||
var info = new EnvironmentInfo()
|
var info = new EnvironmentInfo()
|
||||||
|
|
Loading…
Reference in a new issue