diff --git a/.github/workflows/DDTV_Test.yml b/.github/workflows/DDTV_Test.yml index 70b26d66..020a8936 100644 --- a/.github/workflows/DDTV_Test.yml +++ b/.github/workflows/DDTV_Test.yml @@ -150,15 +150,11 @@ jobs: run: cp -r Static Server/build_output/Static - - name: Move ffmpeg (Windows) - if: runner.os == 'Windows' - shell: pwsh + - name: Copy ffmpeg.exe (Windows) + if: matrix.os == 'windows-latest' run: | - $source = "Server/build_output/Plugins/*" - $destination = "Server/build_output/Plugins" - - New-Item -ItemType Directory -Force -Path $destination - Move-Item -Path $source -Destination $destination -Force + mkdir Server\\build_output\\Plugins\\ffmpeg + copy Server\\Plugins\\ffmpeg\\ffmpeg.exe Server\\build_output\\Plugins\\ffmpeg\\ffmpeg.exe - name: Move all files to bin folder and create shortcut (Linux or macOS) if: runner.os != 'Windows' diff --git a/Server/Server.csproj b/Server/Server.csproj index 419bbb4b..b777a524 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -19,23 +19,11 @@ - - - - PreserveNewest - - - - - - Never - - @@ -51,7 +39,7 @@ - + Never