r
This commit is contained in:
@@ -11,6 +11,20 @@ jobs:
|
|||||||
- name: Checkout del codice
|
- name: Checkout del codice
|
||||||
uses: actions/checkout@v3
|
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
|
# Presuppone che Flutter e InnoSetup siano già nel PATH del PC Windows
|
||||||
- name: Build Flutter
|
- name: Build Flutter
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user