diff --git a/.gitea/workflows/publish-release.yml b/.gitea/workflows/publish-release.yml index a8db8ef..a967f16 100644 --- a/.gitea/workflows/publish-release.yml +++ b/.gitea/workflows/publish-release.yml @@ -57,8 +57,12 @@ jobs: cp /home/rhys/ffmpeg/ffmpeg-7.1.1-essentials_build/bin/ffprobe.exe . cp /home/rhys/ffmpeg/ffmpeg-7.1.1-essentials_build/LICENSE LICENSE.ffmpeg + echo "➤ Remove unneeded playwright binaries" + rm -rf .playwright/node/darwin* + rm -rf .playwright/node/linux* + echo "➤ Creating release zip" - zip ../OFDLV${{ steps.version.outputs.version }}.zip OF\ DL.exe e_sqlite3.dll rules.json config.conf cdm chromium-scripts ffmpeg.exe ffprobe.exe LICENSE.ffmpeg + zip -r ../OFDLV${{ steps.version.outputs.version }}.zip OF\ DL.exe e_sqlite3.dll rules.json config.conf cdm chromium-scripts .playwright playwright.ps1 ffmpeg.exe ffprobe.exe LICENSE.ffmpeg cd .. - name: Create release and upload artifact diff --git a/OF DL.Core/Services/AuthService.cs b/OF DL.Core/Services/AuthService.cs index d235da5..b706acb 100644 --- a/OF DL.Core/Services/AuthService.cs +++ b/OF DL.Core/Services/AuthService.cs @@ -330,7 +330,7 @@ public class AuthService(IServiceProvider serviceProvider) : IAuthService } string cookies = string.Join(" ", mappedCookies.Keys.Where(key => _desiredCookies.Contains(key)) - .Select(key => $"${key}={mappedCookies[key]};")); + .Select(key => $"{key}={mappedCookies[key]};")); await browser.CloseAsync();