Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpurcell committed Dec 8, 2024
1 parent 350e671 commit 0a8efd2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dist/scripts/download-plugins.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ $pluginNames = "qtapng", "kimageformats"
$qtVersion = [version]((qmake --version -split '\n')[1] -split ' ')[3]
Write-Host "Detected Qt Version $qtVersion"

# For testing until plugins are updated
$qtArch = $env:qtArch ? "-$env:qtArch" : ''
if ($qtVersion -gt [version]'6.7.3') {
$qtVersion = [version]'6.7.3'
$qtArch = $qtArch -replace "msvc2022", "msvc2019"
$qtArch = $qtArch -replace "_cross_compiled", ""
}

# Qt version availability and runner names are assumed.
if ($IsWindows) {
$imageName = "windows-2022"
Expand All @@ -23,7 +31,6 @@ if ($pluginNames.count -eq 0) {
}

foreach ($pluginName in $pluginNames) {
$qtArch = $env:qtArch ? "-$env:qtArch" : ''
$artifactName = "$pluginName-$imageName-$qtVersion$qtArch.zip"
$downloadUrl = "$binaryBaseUrl/$artifactName"

Expand Down

0 comments on commit 0a8efd2

Please sign in to comment.