mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-20 05:04:18 +01:00
update mac project
This commit is contained in:
@@ -26,7 +26,6 @@ namespace MediaBrowser.Server.Mac
|
||||
{
|
||||
Instance = this;
|
||||
MainClass.AddDependencies (this);
|
||||
ConfigurationManager.ConfigurationUpdated += Instance_ConfigurationUpdated;
|
||||
}
|
||||
|
||||
public override void AwakeFromNib()
|
||||
@@ -74,7 +73,9 @@ namespace MediaBrowser.Server.Mac
|
||||
});
|
||||
statusMenu.AddItem (quitMenuItem);
|
||||
|
||||
LocalizeText ();
|
||||
//ConfigurationManager.ConfigurationUpdated -= Instance_ConfigurationUpdated;
|
||||
//LocalizeText ();
|
||||
//ConfigurationManager.ConfigurationUpdated += Instance_ConfigurationUpdated;
|
||||
}
|
||||
|
||||
public IServerApplicationHost AppHost{ get; set;}
|
||||
|
||||
@@ -55,7 +55,6 @@ namespace MediaBrowser.Server.Mac
|
||||
StartApplication(appPaths, logManager, options);
|
||||
NSApplication.Init ();
|
||||
NSApplication.Main (args);
|
||||
var b = true;
|
||||
}
|
||||
|
||||
public static void AddDependencies(AppController appController){
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
|
||||
</configSections>
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<targets async="true"></targets>
|
||||
</nlog>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user