mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix errors and assembly name
This commit is contained in:
parent
95a5dd8810
commit
9ccc259c99
@ -1,6 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<AssemblyName>jellyfin</AssemblyName>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
|
@ -134,7 +134,7 @@ namespace Jellyfin.Server
|
|||||||
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", logDir);
|
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", logDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
string appPath = Assembly.GetEntryAssembly().Location;
|
string appPath = AppContext.BaseDirectory;
|
||||||
|
|
||||||
return new ServerApplicationPaths(programDataPath, appPath, appPath, logDir);
|
return new ServerApplicationPaths(programDataPath, appPath, appPath, logDir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user