-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStreamingCatalogs.csproj
More file actions
58 lines (51 loc) · 2.44 KB
/
StreamingCatalogs.csproj
File metadata and controls
58 lines (51 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>StreamingCatalogs</AssemblyName>
<RootNamespace>StreamingCatalogs</RootNamespace>
<LangVersion>latest</LangVersion>
<Optimize>true</Optimize>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="2.1.35" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.15" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<PackageReference Include="Polly" Version="7.2.3" />
</ItemGroup>
<!-- Emby-Server-Assemblies direkt referenzieren -->
<ItemGroup>
<Reference Include="MediaBrowser.Common">
<HintPath>/Applications/EmbyServer.app/Contents/MacOS/MediaBrowser.Common.dll</HintPath>
</Reference>
<Reference Include="MediaBrowser.Controller">
<HintPath>/Applications/EmbyServer.app/Contents/MacOS/MediaBrowser.Controller.dll</HintPath>
</Reference>
<Reference Include="MediaBrowser.Model">
<HintPath>/Applications/EmbyServer.app/Contents/MacOS/MediaBrowser.Model.dll</HintPath>
</Reference>
</ItemGroup>
<!-- Eingebettete HTML-Seite für die Konfig -->
<ItemGroup>
<EmbeddedResource Include="Configuration\ui.html">
<LogicalName>StreamingCatalogs.Configuration.ui.html</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Configuration\catalog.html">
<LogicalName>StreamingCatalogs.Configuration.catalog.html</LogicalName>
</EmbeddedResource>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="Build">
<PropertyGroup>
<!-- Emby-Plugin-Ordner je OS -->
<EmbyPluginDir Condition="'$(OS)' == 'Windows_NT'">$(APPDATA)\Emby-Server\plugins</EmbyPluginDir>
<EmbyPluginDir Condition="'$(OS)' != 'Windows_NT'">$(HOME)/.config/emby-server/plugins</EmbyPluginDir>
</PropertyGroup>
<MakeDir Directories="$(EmbyPluginDir)" />
<!-- Kopiert die gerade gebaute DLL (voller Pfad) -->
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(EmbyPluginDir)" SkipUnchangedFiles="true" />
<!-- Kopiert alle Abhängigkeiten (z.B. Polly.dll) in das Plugin-Verzeichnis -->
<Copy SourceFiles="@(ReferenceCopyLocalPaths)" DestinationFolder="$(EmbyPluginDir)" SkipUnchangedFiles="true" />
</Target>
</Project>