From 5f16ee2b38a90a6f4a71a04b7a3e6297815ae01b Mon Sep 17 00:00:00 2001 From: mark-cachy Date: Wed, 20 May 2026 16:38:21 +0200 Subject: [PATCH] r --- .gitea/workflows/release.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8b180c4..5aac678 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -11,6 +11,20 @@ jobs: - name: Checkout del codice uses: actions/checkout@v3 + - name: Fix bug CMake di pdfx + run: | + # Scarica i pacchetti e genera la cartella symlinks + flutter pub get + + # Percorso del file incriminato + $cmakeFile = "windows\flutter\ephemeral\.plugin_symlinks\pdfx\windows\DownloadProject.cmake" + + # Sostituisce la versione vecchia con la 3.5 al volo + if (Test-Path $cmakeFile) { + (Get-Content $cmakeFile) -replace 'VERSION 2.8.2', 'VERSION 3.5' | Set-Content $cmakeFile + Write-Host "File CMake patchato con successo!" + } + # Presuppone che Flutter e InnoSetup siano giĆ  nel PATH del PC Windows - name: Build Flutter env: