GP-5703: Only require minor versions to match in auto-install.

This commit is contained in:
Dan 2025-05-16 19:48:43 +00:00
parent f30aee4535
commit deadfe59a1
6 changed files with 10 additions and 10 deletions

View file

@ -29,7 +29,7 @@ find-app-properties() {
}
get-ghidra-version() {
local app_ver_re='application\.version=(.*)'
local app_ver_re='application\.version=([0-9]*\.[0-9]*)\.?.*'
local props=$(find-app-properties)
local version=$(cat "$props" | while read line; do
if [[ $line =~ $app_ver_re ]]; then