Fixed plugin template to build and copy correctly, allowing settings button to show and the plugin to register. (#84)
This commit is contained in:
parent
d544b71939
commit
6277846394
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -7,7 +7,7 @@
|
|||||||
"name": "Launch",
|
"name": "Launch",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "build-and-copy",
|
"preLaunchTask": "build-and-copy",
|
||||||
"program": "${config:jellyfinDir}/bin/Debug/net8.0/jellyfin.dll",
|
"program": "${config:jellyfinDir}/bin/Debug/net9.0/jellyfin.dll",
|
||||||
"args": [
|
"args": [
|
||||||
//"--nowebclient"
|
//"--nowebclient"
|
||||||
"--webdir",
|
"--webdir",
|
||||||
|
|||||||
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -60,14 +60,14 @@
|
|||||||
"command": "cp",
|
"command": "cp",
|
||||||
"windows": {
|
"windows": {
|
||||||
"args": [
|
"args": [
|
||||||
"./${config:pluginName}/bin/Debug/net8.0/publish/*",
|
"./${config:pluginName}/bin/Debug/net9.0/publish/*",
|
||||||
"${config:jellyfinWindowsDataDir}/plugins/${config:pluginName}/"
|
"${config:jellyfinWindowsDataDir}/plugins/${config:pluginName}/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"args": [
|
"args": [
|
||||||
"-r",
|
"-r",
|
||||||
"./${config:pluginName}/bin/Debug/net8.0/publish/*",
|
"./${config:pluginName}/bin/Debug/net9.0/publish/*",
|
||||||
"${config:jellyfinLinuxDataDir}/plugins/${config:pluginName}/"
|
"${config:jellyfinLinuxDataDir}/plugins/${config:pluginName}/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<RootNamespace>Jellyfin.Plugin.Template</RootNamespace>
|
<RootNamespace>Jellyfin.Plugin.Template</RootNamespace>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
@ -11,8 +11,12 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Jellyfin.Controller" Version="10.9.11" />
|
<PackageReference Include="Jellyfin.Controller" Version="10.9.11" >
|
||||||
<PackageReference Include="Jellyfin.Model" Version="10.9.11" />
|
<ExcludeAssets>runtime</ExcludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Jellyfin.Model" Version="10.9.11">
|
||||||
|
<ExcludeAssets>runtime</ExcludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user