Anka close Python 2.7 window (#5135)

This commit is contained in:
Aleksandr Chebotov
2022-02-25 10:55:47 +03:00
committed by GitHub
parent b2999beaf8
commit 32b225ca7f
4 changed files with 21 additions and 3 deletions

View File

@@ -71,6 +71,14 @@ is_Less_Monterey() {
fi
}
is_Veertu() {
if [ -d "/Library/Application Support/Veertu" ]; then
true
else
false
fi
}
get_toolset_path() {
echo "$HOME/image-generation/toolset.json"
}
@@ -192,4 +200,9 @@ get_github_package_download_url() {
downloadUrl=$(echo $json | jq -r ".[] | select(.tag_name==\"${tagName}\").assets[].browser_download_url | select(${FILTER})" | head -n 1)
echo $downloadUrl
}
}
# Close all finder windows because they can interfere with UI tests
close_finder_window() {
osascript -e 'tell application "Finder" to close windows'
}