From 627784639440884756170c06e7febc4ae166503b Mon Sep 17 00:00:00 2001 From: T-Gander <113039634+T-Gander@users.noreply.github.com> Date: Sun, 23 Nov 2025 06:19:48 -0700 Subject: [PATCH] Fixed plugin template to build and copy correctly, allowing settings button to show and the plugin to register. (#84) --- .vscode/launch.json | 2 +- .vscode/tasks.json | 4 ++-- .../Jellyfin.Plugin.Template.csproj | 10 +++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b60b151..9f17676 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "name": "Launch", "request": "launch", "preLaunchTask": "build-and-copy", - "program": "${config:jellyfinDir}/bin/Debug/net8.0/jellyfin.dll", + "program": "${config:jellyfinDir}/bin/Debug/net9.0/jellyfin.dll", "args": [ //"--nowebclient" "--webdir", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index dc57059..01343a5 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -60,14 +60,14 @@ "command": "cp", "windows": { "args": [ - "./${config:pluginName}/bin/Debug/net8.0/publish/*", + "./${config:pluginName}/bin/Debug/net9.0/publish/*", "${config:jellyfinWindowsDataDir}/plugins/${config:pluginName}/" ] }, "linux": { "args": [ "-r", - "./${config:pluginName}/bin/Debug/net8.0/publish/*", + "./${config:pluginName}/bin/Debug/net9.0/publish/*", "${config:jellyfinLinuxDataDir}/plugins/${config:pluginName}/" ] } diff --git a/Jellyfin.Plugin.Template/Jellyfin.Plugin.Template.csproj b/Jellyfin.Plugin.Template/Jellyfin.Plugin.Template.csproj index f275ec1..fd1cdb1 100644 --- a/Jellyfin.Plugin.Template/Jellyfin.Plugin.Template.csproj +++ b/Jellyfin.Plugin.Template/Jellyfin.Plugin.Template.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 Jellyfin.Plugin.Template true true @@ -11,8 +11,12 @@ - - + + runtime + + + runtime +