mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-31 21:30:23 -07:00
Check dedicated win version
This commit is contained in:
parent
d913151ae0
commit
6172561500
1 changed files with 10 additions and 1 deletions
|
|
@ -27,9 +27,18 @@ if ! hash aqt; then
|
|||
fi
|
||||
|
||||
# Resolve latest patch
|
||||
if [[ $RUNNER_OS == macOS ]]; then
|
||||
if ! qt_resolved=$(aqt list-qt mac desktop --spec "$qt_spec" --latest-version); then
|
||||
exit 1
|
||||
fi
|
||||
elif [[ $RUNNER_OS == Windows ]]; then
|
||||
if ! qt_resolved=$(aqt list-qt windows desktop --spec "$qt_spec" --latest-version); then
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "aqt command for $RUNNER_OS not defined."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "resolved $qt_spec to $qt_resolved"
|
||||
if [[ ! $qt_resolved ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue