mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
update mac project
This commit is contained in:
parent
98fbfca458
commit
a9624a68d9
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