GP-3490: Fixing GhidraDev required versions

This commit is contained in:
Ryan Kurtz 2024-07-29 09:07:07 -04:00
parent 80fb47dda8
commit dfe5fb992d
2 changed files with 7 additions and 6 deletions

View file

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -43,7 +43,7 @@ import utility.application.ApplicationLayout;
public class GhidraProjectCreatorPreferencePage extends PreferencePage
implements IWorkbenchPreferencePage {
private static ApplicationVersion MIN_GHIDRA_VERSION = new ApplicationVersion("9.1");
private static ApplicationVersion MIN_GHIDRA_VERSION = new ApplicationVersion("11.2");
private Table table;
private Button addButton;
@ -232,7 +232,7 @@ implements IWorkbenchPreferencePage {
boolean layoutVersionError = false;
try {
int ver = Integer.parseInt(layoutVersion);
if (ver < 1 || ver > 2) {
if (ver < 1 || ver > 3) {
layoutVersionError = true;
}
}